Unity android构建错误:INSTALL_FAILED_VERSION_DOWNGRADE

时间:2022-10-30 22:59:45

I built my android Phone app using Unity. I didn't use eclispe, only unity.

我使用Unity构建了我的Android手机应用程序。我没有使用eclispe,只有统一。

I keep getting the error message "INSTALL_FAILED_VERSION_DOWNGRADE" when I try to push the android package onto my device.

当我尝试将android软件包推送到我的设备上时,我不断收到错误消息“INSTALL_FAILED_VERSION_DOWNGRADE”。

I cannot find out what is wrong. Help me please.

我找不出有什么问题。请帮帮我。

http://orizun.com/220138349709 link image click~~

http://orizun.com/220138349709链接图片点击~~

1 个解决方案

#1


5  

The app is already installed on device. This installed app has higher versionCode in the AndroidManifest.xml.

该应用已安装在设备上。此安装的应用程序在AndroidManifest.xml中具有更高的versionCode。

Example: If you try to install .apk with versionCode="30" over .apk with versionCode="20" everyhing is fine. If you try to install .apk with versionCode="20" over .apk with versionCode="21" you get [INSTALL_FAILED_VERSION_DOWNGRADE].

示例:如果您尝试将.apk与versionCode =“30”安装在.apk上,并且versionCode =“20”则可以正常运行。如果您尝试使用versionCode =“20”在.apk上安装.apk,而使用versionCode =“21”,则会获得[INSTALL_FAILED_VERSION_DOWNGRADE]。

#1


5  

The app is already installed on device. This installed app has higher versionCode in the AndroidManifest.xml.

该应用已安装在设备上。此安装的应用程序在AndroidManifest.xml中具有更高的versionCode。

Example: If you try to install .apk with versionCode="30" over .apk with versionCode="20" everyhing is fine. If you try to install .apk with versionCode="20" over .apk with versionCode="21" you get [INSTALL_FAILED_VERSION_DOWNGRADE].

示例:如果您尝试将.apk与versionCode =“30”安装在.apk上,并且versionCode =“20”则可以正常运行。如果您尝试使用versionCode =“20”在.apk上安装.apk,而使用versionCode =“21”,则会获得[INSTALL_FAILED_VERSION_DOWNGRADE]。