/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
npx claudepluginhub arisguimera/mobiai-core --plugin android35 skills in this plugin
/adaptiveInstructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a window). It also covers multi-pane layouts using Navigation3 Scenes, adaptive UI components (such as buttons) with varying target sizes, and adaptive layouts (including navigation areas - nav rails and nav bars) using the Compose Grid and FlexBox APIs./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./android-cliProvides instructions for installing and using the `android` CLI. The `android` command-line tool is a critical tool for Android development and helps you create new Android projects, install APKs onto devices and emulators and launch and run apps on them, manage and interact with Android virtual devices (including screenshots and UI inspection), manage Android SDK components, look up official Android documentation, and discover and install official Android skills./android-for-cars-parked-appsAdapt existing Android video streaming apps, games, and web browsers to run as parked apps on Android Auto and Android Automotive OS. Covers manifest configuration, Google Play hardware feature declarations, compatibility mode, back navigation affordances, orientation and display continuity, controllable system bar insets, irregular display cutouts, driver distraction lifecycle handling, MediaSession playback restrictions with CarUxRestrictionsManager, background audio while driving, and browser sensitive data protection. Use this skill when migrating, building, or auditing parked apps for cars to meet Car App Quality guidelines. Don't use for media audio apps, templated Car App Library navigation, point of interest, internet of things, weather, or communication apps designed for use while driving./android-intent-securityBest practices for Android Intent security. Use this skill when auditing component configurations in AndroidManifest.xml activities, services, receivers) or source code handling incoming Intents (getIntent, getParcelableExtra) to prevent Intent Redirection and unauthorized access./android-permissions-securityAudits, detects gaps, and remediates Android permissions and IPC component security vulnerabilities. Use when reviewing AndroidManifest.xml, defining custom permissions, securing Services, Receivers, and Providers, verifying caller signatures and UID using Binder, or implementing runtime permission flows.2 plugins ship this exact skill · first indexed Jul 20, 2026
Other plugins' skills for the same job