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, and extract apk using zip:


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