This skill orchestrates Android release build setup by generating keystores, configuring ProGuard, and applying signing for CI and local dev.
npx playbooks add skill hitoshura25/claude-devtools --skill android-release-build-setup
This skill orchestrates complete Android release build configuration by running three atomic skills in sequence.
Sets up everything needed for Android release builds:
This skill runs three sub-skills in order:
Follow the skill at: ~/claude-devtools/skills/android-keystore-generation/SKILL.md
What it does:
Verify before continuing:
ls keystores/*.jks
cat keystores/KEYSTORE_INFO.txt
---
Follow the skill at: ~/claude-devtools/skills/android-proguard-setup/SKILL.md
What it does:
Verify before continuing:
test -f app/proguard-rules.pro
grep "isMinifyEnabled = true" app/build.gradle.kts
---
Follow the skill at: ~/claude-devtools/skills/android-signing-config/SKILL.md
What it does:
Verify before continuing:
./gradlew assembleRelease
jarsigner -verify app/build/outputs/apk/release/app-release.apk
---
After all three skills complete, verify the complete setup:
# 1. Clean build
./gradlew clean
# 2. Build release APK
./gradlew assembleRelease
# 3. Verify APK exists
ls -lh app/build/outputs/apk/release/app-release.apk
# 4. Verify ProGuard mapping generated
ls -lh app/build/outputs/mapping/release/mapping.txt
# 5. Verify signing
jarsigner -verify -verbose -certs app/build/outputs/apk/release/app-release.apk
All checks must pass before marking this skill as complete.
Do NOT mark complete unless ALL are verified:
✅ Keystores generated and secured
✅ ProGuard configured
✅ Signing configured
✅ MANDATORY: Build verification
./gradlew assembleDebug succeeds./gradlew assembleRelease succeedsjarsigner -verify confirms APK is signed correctlyAfter completion, provide this summary:
✅ Android Release Build Setup Complete!
📦 Keystores Generated:
Production: keystores/production-release.jks (CI/CD only)
Local Dev: keystores/local-dev-release.jks (local testing)
Credentials: keystores/KEYSTORE_INFO.txt
🔒 ProGuard/R8 Configuration:
✓ Minification enabled
✓ Resource shrinking enabled
✓ Safe default rules: app/proguard-rules.pro
⚙️ Build Configuration:
✓ Signing config added to app/build.gradle.kts
✓ Dual-source strategy (env vars + gradle.properties)
✓ Validation on release builds
📋 Next Steps:
For Local Development:
./gradlew assembleRelease
./gradlew installRelease
For CI/CD (GitHub Actions):
Add GitHub Secrets (see KEYSTORE_INFO.txt):
- SIGNING_KEY_STORE_BASE64
- SIGNING_KEY_ALIAS
- SIGNING_STORE_PASSWORD
- SIGNING_KEY_PASSWORD
⚠️ CRITICAL REMINDERS:
- NEVER commit keystores to git
- NEVER use production keystore locally
- ALWAYS back up production keystore securely
- Loss of production keystore = cannot update app!
This skill is prerequisite for:
android-e2e-testing-setup - Tests release buildsandroid-release-validation - Validates signed APK/AABandroid-playstore-publishing - Uses keystore for CI/CD workflowandroid-playstore-pipeline - Orchestrates full setupIf any skill fails:
Common issues:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.