DISCLAIMER, in Google Play Console you can download Universal APK directly. No need to use this extracting from AAB to APK method
Please make sure to run this script with your .aab
file in the same folder.
The script has the following placeholders, which should be replaced for your specific environment/application:
$PASSWORD
,$KEYSTORE_FILE
,$ALIAS
are the details used to sign the .aab in Android Studio$PATH_TO_BUNDLE_TOOL
is the path of the bundletool e.g.~/Downloads/bundletool-all-0.8.0.jar