- AAB (Android App Bundle)
- APK (Android Package)
brew install bundletool
brew install android-platform-tools
bundletool build-apks --bundle=/path/to/your_app.aab --output=/path/to/output.apks
bundletool install-apks --apks=
Remember, to connect your phone via USB or start your emulator:
bundletool get-device-spec --output=device-spec.json
bundletool extract-apks --apks=/path/to/output.apks --output-dir=/path/to/output-directory --device-spec=/path/to/device-spec.json
"C:\Program Files\Java\jdk-17\bin\keytool.exe" -genkey -v -keystore my-release-key.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my-key-alias
"C:\Program Files\Java\jdk-17\bin\jarsigner.exe" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.jks base-master.apk my-key-alias
"C:\Program Files\Java\jdk-17\bin\jarsigner.exe" -verify -verbose -certs base-master.apk
"C:\Users\admin\AppData\Local\Android\Sdk\build-tools\35.0.0\zipalign.exe" -v 4 base-master.apk base-master-aligned.apk