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
If "android:testOnly" is enabled in the AndroidManifest.xml of an app, it is not possible to install it with install-apks.
The APKs have been extracted in the directory: /tmp/1656797342218807768
05:01:21 E/SplitApkInstaller: Failed to finalize session : INSTALL_FAILED_TEST_ONLY: installPackageLI
[BT:0.10.0] Error: Installation of the app failed.
com.android.tools.build.bundletool.model.exceptions.InstallationException: Installation of the app failed.
at com.android.tools.build.bundletool.model.exceptions.InstallationException$Builder.build(InstallationException.java:47)
at com.android.tools.build.bundletool.model.exceptions.InstallationException$Builder.build(InstallationException.java:41)
at com.android.tools.build.bundletool.device.DdmlibDevice.installApks(DdmlibDevice.java:122)
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:62)
at com.android.tools.build.bundletool.commands.InstallApksCommand.execute(InstallApksCommand.java:163)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:88)
at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:46)
Caused by: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_TEST_ONLY: installPackageLI
at com.android.ddmlib.SplitApkInstaller.install(SplitApkInstaller.java:91)
at com.android.ddmlib.Device.installPackages(Device.java:928)
at com.android.tools.build.bundletool.device.DdmlibDevice.installApks(DdmlibDevice.java:106)
The app can be installed on the device using the -t option(allow test packages) of adb.
The text was updated successfully, but these errors were encountered:
If "android:testOnly" is enabled in the AndroidManifest.xml of an app, it is not possible to install it with install-apks.
The app can be installed on the device using the -t option(allow test packages) of adb.
The text was updated successfully, but these errors were encountered: