You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Crash installing APKs on API 15-18 emulators
Bundletool version(s) affected
Version: 0.9.0
Stacktrace
C:\Utilities\bundletool>java -jar bundletool-all-0.9.0.jar install-apks --apks=app.apks
The APKs have been extracted in the directory: C:\Users\sam__\AppData\Local\Temp\762967780459134954
[BT:0.9.0] Error: null
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:787)
at com.google.common.base.Joiner.toString(Joiner.java:454)
at com.google.common.base.Joiner.appendTo(Joiner.java:106)
at com.google.common.base.Joiner.appendTo(Joiner.java:154)
at com.google.common.base.Joiner.join(Joiner.java:197)
at com.google.common.base.Joiner.join(Joiner.java:187)
at com.google.common.base.Joiner.join(Joiner.java:205)
at com.android.ddmlib.Device.installRemotePackage(Device.java:1024)
at com.android.ddmlib.Device.installPackage(Device.java:902)
at com.android.ddmlib.Device.installPackage(Device.java:880)
at com.android.ddmlib.Device.installPackage(Device.java:869)
at com.android.tools.build.bundletool.device.DdmlibDevice.installApks(DdmlibDevice.java:113)
at com.android.tools.build.bundletool.device.ApksInstaller.installOnDevice(ApksInstaller.java:94)
at com.android.tools.build.bundletool.device.ApksInstaller.installApks(ApksInstaller.java:82)
at com.android.tools.build.bundletool.device.ApksInstaller.installApks(ApksInstaller.java:44)
at com.android.tools.build.bundletool.commands.InstallApksCommand.execute(InstallApksCommand.java:165)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:88)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:46)
To Reproduce
Ensure no physical devices are connected to the computer
Launch the API 15, API 16, API 17 or API 18 Android emulator
(Due to an unrelated bug, if the emulator screen stays black then you may need to open the emulator's config.ini and switch on both hw.gpu.enabled and hw.gpu.mode)
Run java -jar bundletool-all-0.9.0.jar build-apks --bundle=app.aab --output=apps.apks
Run java -jar bundletool-all-0.9.0.jar install-apks --apks=app.apks
Describe the bug
Crash installing APKs on API 15-18 emulators
Bundletool version(s) affected
Version: 0.9.0
Stacktrace
To Reproduce
config.ini
and switch on bothhw.gpu.enabled
andhw.gpu.mode
)java -jar bundletool-all-0.9.0.jar build-apks --bundle=app.aab --output=apps.apks
java -jar bundletool-all-0.9.0.jar install-apks --apks=app.apks
See artifacts.zip
Expected behavior
App should be installed on the emulator
Known workaround
Use the API 29 emulator
The text was updated successfully, but these errors were encountered: