
Covers both Gradle CLI app builds and AOSP/LineageOS ROM compilation, which is a surprisingly practical pairing since you often need both when doing custom Android work. The Gradle section hits the essential commands (assembleDebug, testing, signing) plus performance tuning that actually matters. The ROM side walks through repo sync, lunch/breakfast commands, and device tree structure. What's useful here is the build variant table and the actual output locations, so you're not hunting through /out wondering where your boot.img ended up. The troubleshooting section cuts off mid-sentence, but the meat is all there. If you're building either APKs or flashable zips, this gives you the command reference without the usual Android documentation maze.
$ npx -y skills add hyperb1iss/hyperdroid-skill --skill android-build --agent claude-codeInstalls into .claude/skills of the current project.
This skill covers building Android apps via Gradle CLI and building custom ROMs via AOSP/LineageOS.
./gradlew tasks # List available tasks
./gradlew assembleDebug # Build debug APK
./gradlew assembleRelease # Build release APK
./gradlew installDebug # Build + install to device
./gradlew bundleRelease # Build AAB (App Bundle)
# APK output location
# app/build/outputs/apk/debug/app-debug.apk
# app/build/outputs/apk/release/app-release.apk
./gradlew assembleFreeDebug # Flavor + build type
./gradlew assemblePaidRelease
./gradlew assembleDebug --info # Verbose output
./gradlew assembleRelease -x test # Skip tests
./gradlew test # Unit tests
./gradlew testDebugUnitTest # Debug unit tests only
./gradlew connectedAndroidTest # Instrumented tests
./gradlew connectedCheck # All connected tests
# Run specific test
./gradlew test --tests "*.MyTestClass"
Sponsors