I currently upload my app updates on the Google Play Console using the publishing format .aab. My problem is I cannot find a way how to download and install the right APKs generated from .aab.
When I download from the "Manage Releases" like many people suggested, it downloads an .aab. When I download a device specific APK, it gives me three APKs. (In my download case, base.apk, config.en.apk, and config.xxhdpi.apk).
The base APK is able to be installed but cannot launch. The other 2 APKs can't even be parsed. I suspect, these three should be installed as a bundle but I don't know how to do that.
How can I install these three APKs or download the single APK that I can install easily?
Install Split APKs Installer from the Play Store and run it. First, search the Android app bundle file using the file picker. The Split APKs Installer will then automatically select the appropriate files which are apt for your device.
Split APKs Installer supports APKM and XAPK app bundles. To install an APKM or XAPK app bundle, download and install the SAI app from the Google Play store. Open SAI and tap on the Install APKs icon on the bottom. You can now either use the app's internal file picker or the system file picker to locate the app bundle.
You can install these APKs using the adb install-multiple
command:
adb install-multiple base.apk config.en.apk config.xxhdpi.apk
Other options you can use:
You can use bundle tool to manipulate the app bundle file and install it on your device locally. First, download bundletool
from here. app bundle (the .aab file). Then generate a set of APKs from it by running
bundletool build-apks --bundle=/MyApp/my_app.aab --output=/MyApp/my_app.apks
Note that the command above creates an APK set of unsigned APKs.
Then you can install this APK by running
bundletool install-apks --apks=/MyApp/my_app.apks
The .apks file contains all configurations. If you want to generate a set of APKs for a specific device, take a look at here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With