keywords: Android, Ordinary Development Notes

How to extract apk from aab package

Download Android Bundle Tool.
Then run command:

java -jar bundletool-all-1.8.2.jar build-apks --bundle=MyApp.aab --output=MyApp.apks --mode=universal --overwrite

Then would output file MyApp.apks:

Then rename MyApp.apks to MyApp.apk, and extract apk using zip:

Origin:
https://www.geekdashboard.com/extract-apk-files-from-aab/


“The pendulum of the mind oscillates between sense and nonsense, not between right and wrong.” ― Carl Gustav Jung