Skip to the workspace
Pebellslearn by building
The Fundamentals  ›  Lesson

Android Studio and the Project Tree

Development IDE 12 minAndroid Studio is the official IDE for Android, and every app project keeps code, resources and the manifest in fixed, predictable places.

android / Android Studio and the Project Tree

Explore each scene at your own pace.

01 · The rule

The rule

Android Studio and the Project Tree

You open Sprout for the first time and see dozens of folders. Knowing where things live is half of Android development. The good news: every Android project uses the same layout, so you learn it once.

The rule

Code in java, looks in res, the contract in the manifest.

Android Studio is the official IDE, built on IntelliJ IDEA. Besides the editor it gives you the SDK Manager (Android platform versions), the Device Manager (emulators), Logcat (the live log from a running app) and a debugger.

Inside the app module, three places matter most:

app/src/main/
├── java/com/example/sprout/   ← Kotlin and Java code
├── res/                       ← resources: strings, images, colors, themes
└── AndroidManifest.xml        ← what the app contains and needs
  • java/ holds your source files, even Kotlin ones, in folders matching the package name.
  • res/ holds everything that is not code: values/strings.xml for text, drawable/ for images, mipmap/ for the launcher icon.
  • AndroidManifest.xml tells the system what the app is: its activities, the permissions it asks for, its icon and name.

Resources get an ID the code can use, such as R.string.app_name, so text can be translated without touching code.

Scene 1 of 5
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.