Where is the main activity file in Android Studio?

Nguyễn Trà

New member
Where is the main activity file in Android Studio?
Answer
Locate MainActivity Java or Kotlin file in Android Studio
  1. Look for 1. Project at the top left vertical bar.
  2. You would see folder: app.
  3. Expand app folder -> You would see 3 folders with the same name e.g.: com.abc.example.
  4. Expand the 1st folder -> you should see MainActivity file.
  5. Double click on it to open the file.
 

Tìm kiếm

Back
Top