Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Android

Posted zhchoutai

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Android相关的知识,希望对你有一定的参考价值。


我们在安装新的 APk 的时候。会出现 

Installation error: INSTALL_FAILED_VERSION_DOWNGRADE


原因:  是由于 androidversionCode 的原因,我们手机里面的APP 的 versionCode 高于将要安装的 APP!



error:

<span style="font-size:18px;">[2015-03-17 16:52:21 - HoleYourBrain] Android Launch!
[2015-03-17 16:52:21 - HoleYourBrain] adb is running normally.
[2015-03-17 16:52:21 - HoleYourBrain] Performing com.youxiputao.SplashActivity activity launch
[2015-03-17 16:52:23 - HoleYourBrain] Uploading HoleYourBrain.apk onto device ‘71MBBL324VFG‘
[2015-03-17 16:52:24 - HoleYourBrain] Installing HoleYourBrain.apk...
[2015-03-17 16:52:25 - HoleYourBrain] Installation error: INSTALL_FAILED_VERSION_DOWNGRADE
[2015-03-17 16:52:25 - HoleYourBrain] Please check logcat output for more details.
[2015-03-17 16:52:25 - HoleYourBrain] Launch canceled!</span>


解决方式:

在清单文件改动 

android:versionCode="1081"










以上是关于Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Android的主要内容,如果未能解决你的问题,请参考以下文章

nokogiri gem installation error

Mac Mysql mysql_secure_installation Error: Access denied for user 'root'@'localhost'

Error: A JNI error has occurred, please check your installation and try again

Installation error: INSTALL_FAILED_VERSION_DOWNGRADE Android

Error: A JNI error has occurred, please check your installation and try again

Installation failed with error code: (0x80070643)