alerte-secours/app/docs/aab-to-apk.md
devthejo 3e56818c1d chore(to-monorepo): import as-app repo into app
git-subtree-dir: app
git-subtree-mainline: b28b08a80b
git-subtree-split: a6c3dc2641
2026-03-09 08:54:57 +01:00

620 B

AAB to APK

install bundletool

# brew install bundletool

or download from https://github.com/google/bundletool/releases

alias bundletool='java -jar /opt/bundletool-all-1.17.1.jar'
cd android/app/build/outputs/bundle/release
bundletool build-apks --mode universal --bundle ./app-release.aab --output ./app.apks
mv app.apks app.zip
unzip -o app.zip

ADB

restart adb

adb kill-server && adb start-server

list devices

adb devices

Android

enable usb debug mode in developer options

Install

adb install universal.apk

Shortcut scripts