INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES錯誤解決方法


在安裝APK文件時出現類似INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES的提示,同時類似的提示如下:  

 Android Launch!
 adb is running normally.
 Performing com.android123.CWJ activity launch
 Automatic Target Mode: using device 'HT840GZ25974'
 Uploading CWJ.apk onto device 'HT840GZ25974'
 Installing CWJ.apk...
 Application already exists. Attempting to re-install instead...
 Re-installation failed due to different application signatures.
 You must perform a full uninstall of the application. WARNING: This will remove the application data!
 Please execute 'adb uninstall com.android123.CWJ' in a shell.
 Launch canceled!

  這樣的問題主要是簽名沖突造成的,比如你使用了ADB的debug權限簽名,但后來使用標准sign簽名后再安裝同一個文件會出現這樣的錯誤提示,解決的方法除了只有先老老實實從手機上卸載原有版本再進行安裝,而adb install -r參數也無法解決這個問題。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM