Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install APKs from Google Play Console generated from an Android App Bundle?

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?

like image 713
hamthenormal Avatar asked Mar 31 '19 10:03

hamthenormal


People also ask

How do I install bundle files on Android?

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.

How do I use an APK bundle?

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.


2 Answers

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:

  • The internal testing track,
  • Deploy directly from Android Studio (select "Deploy APK from app bundle" in the Run Configurations.
like image 164
Pierre Avatar answered Sep 26 '22 09:09

Pierre


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.

like image 36
noidsirius Avatar answered Sep 22 '22 09:09

noidsirius