Android Release Build
Build a signed Android release AAB. Automatically generates a keystore if one doesn't exist yet.
Command: kappmaker android-release-build
kappmaker android-release-build
kappmaker android-release-build --organization "MyCompany"
kappmaker android-release-build --output ./my-output
Run from the project root (containing MobileApp/) or inside MobileApp/ directly. Requires gradlew in the mobile app directory.
Options
| Flag | Description | Default |
|---|---|---|
--organization <name> | Organization for keystore generation | From config |
--first-name <name> | Developer name for keystore generation | Empty |
--output <dir> | Output directory for AAB | distribution/android |
What it Does
- Generates keystore if
distribution/android/keystore/keystore.propertiesdoesn't exist - Runs
./gradlew :composeApp:bundleRelease - Copies the AAB to the output directory
Output: distribution/android/app-release.aab (or custom --output path)