Unity/Unity 이슈

com.android.tools.build.bundletool.model.exceptions.InstallationException: Installation of the app failed.

lipnus 2021. 6. 11. 13:11
반응형

기존 프로젝트에 RTS Engine 을 import하고 Build했을 때 나타나는 현상.

RTS Engine이 Build Setting 쪽도 변경해서 발생하는 에러. (자기들 로고를 넣는 등..)

(Publish Key도 초기화 되어버리니 살펴볼 것)

 

버전을 마음대로 바꿔버리면서 충돌이 일어나서 생기는 에러이다.

 

Error

Installation failed with the following output: Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 The APKs have been extracted in the directory: C:\Users\lipnus\AppData\Local\Temp\5911379885019797321 [BT:0.10.3] 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:124) 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_VERSION_DOWNGRADE 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:108) ... 6 more UnityEngine.GUIUtility:ProcessEvent (int,intptr)

 

 

Solution

기존 단말에 설치된 apk를 지우고 build

반응형