start - Quick Start Guide
Essential Android development quickstart with core Gradle commands, architecture templates, and common dependency configurations. Use this as your daily reference for building, testing, and structuring Android apps efficiently.
/plugin marketplace add pluginagentmarketplace/custom-plugin-android/plugin install android-development-assistant@pluginagentmarketplace-androidEssential resources and quick references for Android development.
/roadmap for learning path/agent-guide to understand agent expertise./gradlew build # Build project
./gradlew assembleDebug # Build debug APK
./gradlew bundleRelease # Build release bundle
./gradlew connectedTest # Run tests on device
./gradlew clean # Clean build
./gradlew dependencies # Show dependencies
./gradlew lintDebug # Run lint checks
./gradlew test # Run unit tests
./gradlew connectedAndroidTest # Run instrumentation tests
AppCompatActivity, implement lifecycle callbacksapp/
├── data/
│ ├── local/ (Room, SharedPreferences)
│ ├── remote/ (Retrofit APIs)
│ └── repository/ (Repository implementations)
├── domain/
│ ├── model/ (Data classes)
│ └── repository/ (Repository interfaces)
├── presentation/
│ ├── ui/ (Activities, Fragments)
│ ├── viewmodel/ (ViewModels)
│ └── adapter/ (RecyclerView adapters)
└── di/ (Hilt modules)
AppCompatActivity: Base for activitiesFragment: Reusable UI componentService: Background operationBroadcastReceiver: Listen to eventsContentProvider: Share dataViewModel: UI state managementLiveData: Observable dataRoom: Type-safe databaseNavigation: Fragment navigationWorkManager: Background jobsDataStore: Modern preferencesMaterialButton: Material buttonCard: Material card componentTopAppBar: Top navigation barScaffold: Basic Material layoutNavigation Drawer: Side navigation@Test
fun testFunction() {
// Arrange
val expected = "value"
// Act
val result = functionUnderTest()
// Assert
assertEquals(expected, result)
}
@Test
fun testButtonClick() {
onView(withId(R.id.button)).perform(click())
onView(withText("Success")).check(matches(isDisplayed()))
}
dependencies {
// Core
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "androidx.activity:activity-ktx:1.8.0"
// Jetpack
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1"
implementation "androidx.room:room-runtime:2.5.2"
implementation "androidx.datastore:datastore-preferences:1.0.0"
implementation "androidx.navigation:navigation-fragment-ktx:2.7.2"
// DI
implementation "com.google.dagger:hilt-android:2.46"
kapt "com.google.dagger:hilt-compiler:2.46"
// Networking
implementation "com.squareup.retrofit2:retrofit:2.9.0"
implementation "com.squareup.okhttp3:okhttp:4.11.0"
implementation "com.google.code.gson:gson:2.10.1"
// Testing
testImplementation "junit:junit:4.13.2"
testImplementation "io.mockk:mockk:1.13.5"
androidTestImplementation "androidx.test.espresso:espresso-core:3.5.1"
}
/agent-guideTotal Learning Time: 37-45 weeks @ 2-4 hours/day to master all 7 steps
Good luck building awesome Android apps! 🚀