✅ "Empty Activity" is the Compose template… now
As of recent Android Studio versions (like Hedgehog and later), Jetpack Compose is integrated into the "Empty Activity" template by default — as long as you enable Kotlin and Compose support during setup.
So while it doesn’t say “Empty Compose Activity” in the template picker anymore, choosing “Empty Activity” will get you Compose if you configure it correctly on the next screen.
🛠️ What to Do Next
After selecting "Empty Activity" and clicking Next, make sure:
Use Jetpack Compose = ✅ (checked) ⚠️ If you don’t see this checkbox, your Android Studio installation may not be fully updated or Compose-enabled. Minimum SDK: Choose API 26 or higher (ideally 28+) That will scaffold a Compose-ready project with:
MainActivity.kt using setContent {} Gradle dependencies preconfigured for Compose 🧰 If You Don't See the "Use Jetpack Compose" Checkbox:
Go to File > Project Structure > Modules > Dependencies and manually add: implementation("androidx.compose.ui:ui:1.6.4")
implementation("androidx.compose.material3:material3:1.2.0")
implementation("androidx.activity:activity-compose:1.8.0")
Also ensure Compose is enabled in build.gradle: buildFeatures {
compose true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.6.4"
}
🧠 Instructor Tip:
To simplify onboarding in Week 1, consider preparing a starter repo or GitHub Classroom template with Compose already configured — this ensures students don't get blocked by tooling inconsistencies.