概要
Play Asset Delivery 用の Unity プラグインを追加して
Bundletool.BuildBundle で Android ビルドを実行したら
Installation failed with the following output: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 The APKs have been extracted in the directory: /var/folders/1s/gz2_277j5vnfqrllp8k1zww80000gn/T/2161422118842093061 The APKs have been extracted in the directory: /var/folders/1s/gz2_277j5vnfqrllp8k1zww80000gn/T/2161422118842093061 [BT:1.6.0] Error: Installation of the app failed. com.android.tools.build.bundletool.model.exceptions.CommandExecutionException: Installation of the app failed. at com.android.tools.build.bundletool.model.exceptions.InternalExceptionBuilder.build(InternalExceptionBuilder.java:57) at com.android.tools.build.bundletool.device.DdmlibDevice.installApks(DdmlibDevice.java:154) at com.android.tools.build.bundletool.commands.InstallApksCommand.lambda$execute$1(InstallApksCommand.java:197) at com.android.tools.build.bundletool.device.AdbRunner.run(AdbRunner.java:81) at com.android.tools.build.bundletool.device.AdbRunner.run(AdbRunner.java:61) at com.android.tools.build.bundletool.commands.InstallApksCommand.execute(InstallApksCommand.java:196) at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:90) at com.android.tools.build.bundletool.BundleToolMain.main(BundleToolMain.java:48)
上記のエラーが発生してビルドに失敗する現象に遭遇した
Android 端末にインストール済みの開発アプリをアンインストールしたら
エラーが発生しなくなった