Installation error: INSTALL_FAILED_VERSION_DOWNGRADEAndroid

古之立大事者,不惟有超世之才,亦必有坚忍不拔之志。这篇文章主要讲述Installation error: INSTALL_FAILED_VERSION_DOWNGRADEAndroid相关的知识,希望能为你提供帮助。


我们在安装新的 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_DOWNGRADEAndroid】










    推荐阅读