Reputation: 21
I built my android Phone app using Unity. I didn't use eclispe, only unity.
I keep getting the error message "INSTALL_FAILED_VERSION_DOWNGRADE" when I try to push the android package onto my device.
I cannot find out what is wrong. Help me please.
http://orizun.com/220138349709 link image click~~
Upvotes: 2
Views: 4831
Reputation: 38223
The app is already installed on device. This installed app has higher versionCode
in the AndroidManifest.xml
.
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]
.
Upvotes: 6