/android:mobiai-android-buildfrom android
Builds Android projects with Gradle: assemble APKs/app bundles, run tests, manage flavors/variants, troubleshoot build failures, and handle dependencies.
Ships in android. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Expert knowledge for building Android projects with Gradle.
# Debug APK (default flavor)
./gradlew assembleDebug
# Specific flavor
./gradlew assemble<Flavor>Debug
# Example: ./gradlew assembleFreeDebug
# Release APK
./gradlew assemble<Flavor>Release
# App Bundle (for Play Store)
./gradlew bundle<Flavor>Release
Use this to quickly verify code compiles without building a full APK:
./gradlew compile<Flavor>DebugKotlin --no-daemon
./gradlew test<Flavor>DebugUnitTest --no-daemon
./gradlew connected<Flavor>DebugAndroidTest
./gradlew clean assembleDebug
Android builds are a combination of Build Type × Product Flavor.
debug — debuggable, no minification, debug signingrelease — minified (R8/ProGuard), release signingFlavors are defined in app/build.gradle(.kts) under productFlavors. Common patterns:
// Example: country-based flavors
flavorDimensions += "country"
productFlavors {
create("arg") { dimension = "country"; applicationIdSuffix = ".arg" }
create("mx") { dimension = "country"; applicationIdSuffix = ".mx" }
}
To find available flavors:
grep -r "productFlavors" app/build.gradle* --include="*.gradle*" -A 20
Or list all build variants:
./gradlew tasks --all | grep assemble
# Single APK
adb install -r app/build/outputs/apk/<flavor>/debug/app-<flavor>-debug.apk
# Split APKs (when using multiple APK output)
adb install-multiple app-base.apk app-config.apk
# Replace existing installation
adb install -r <path-to-apk>
Projects often use branch naming conventions tied to versions:
# Check available release branches
git branch -r | grep release
# Common patterns:
# release/v3.2.x
# release/3.2.0
# release/1.0.0-rc1
To build a specific version:
git checkout <branch>./gradlew dependencies --configuration <flavor>DebugRuntimeClasspath
configurations.all {
resolutionStrategy.force("com.example:library:1.2.3")
}
# In gradle.properties
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
./gradlew clean
rm -rf .gradle/
rm -rf ~/.gradle/caches/
# Check Kotlin version
grep -r "kotlin" gradle/libs.versions.toml build.gradle* --include="*.toml" --include="*.gradle*" | grep version
# Check which JDK Gradle uses
./gradlew --version
# Set JDK explicitly
export JAVA_HOME=/path/to/jdk
Automatic — uses ~/.android/debug.keystore
Usually configured in app/build.gradle(.kts):
grep -r "signingConfigs" app/build.gradle* -A 10
Never commit signing credentials to git.
grep -r "isMinifyEnabled\|minifyEnabled" app/build.gradle* --include="*.gradle*"
Located in proguard-rules.pro or consumer-rules.pro. Common issues:
@Keep or keep rulesWhat SKILL.md sets; muted values are Claude Code's defaults
10 skills in this plugin
/agp-9-upgradeUpgrades, or migrates, an Android project to use Android Gradle Plugin (AGP) version 9. Do not use this skill for migrating Kotlin Multiplatform (KMP) projects./edge-to-edgeUse this skill to migrate your Jetpack Compose app to add adaptive edge-to-edge support and troubleshoot common issues. Use this skill to fix UI components (like buttons or lists) that are obscured by or overlapping with the navigation bar or status bar, fix IME insets, and fix system bar legibility./migrate-xml-views-to-jetpack-composeProvides a structured workflow for migrating an Android XML View to Jetpack Compose. This skill details the step-by-step process, from planning and dependency setup, to theming and layout migration, validation and XML cleanup. Use this skill when you need to migrate an XML View to Jetpack Compose in an Android project. It solves the problem of converting the UI of a legacy XML View into modern, declarative Compose components while maintaining interoperability./mobiai-android-architectureUse when creating features, refactoring, or navigating an Android codebase — understand project structure, find where to make changes, follow existing patterns./mobiai-android-deviceUse when interacting with an Android device or emulator — run adb commands, automate UI, capture screenshots, read logcat, manage emulators./mobiai-android-testingUse when writing or running tests in an Android project — unit tests, UI tests, choosing the right framework and patterns.2 plugins ship this exact skill · first indexed Jul 20, 2026
npx claudepluginhub adriaanat/ecosystem-manager --plugin androidOther plugins' skills for the same job