Release · 8 min read · Intermediate
Testing, ProGuard/R8 & Play Store `.aab` Release
Shrink release builds with R8, protect your upload keystore, and ship signed Android App Bundles.
What you'll learn
- Enable `isMinifyEnabled = true` (R8) for smaller, obfuscated release builds
- Keep `.jks` keystores and signing passwords out of version control
- Upload `.aab` bundles to Google Play Internal Testing before production rollout
Overview
Shrink release builds with R8, protect your upload keystore, and ship signed Android App Bundles.
Code Example
# Build a signed Android App Bundle (.aab) for Google Play
./gradlew bundleRelease
# Run local JVM unit tests
./gradlew testDebugUnitTest
Key Takeaways
- Enable
isMinifyEnabled = true(R8) for smaller, obfuscated release builds - Keep
.jkskeystores and signing passwords out of version control - Upload
.aabbundles to Google Play Internal Testing before production rollout
Quick Check
Check Your Understanding
Score: 0 / 1
1. Why does Google Play require `.aab` (Android App Bundle) for production releases?
Study Workspace
Finished this lesson?
Your progress is saved locally in your browser, no account needed.