标签:
在安装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参数也无法解决这个问题。
INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES错误解决方法
标签:
原文地址:http://www.cnblogs.com/exmyth/p/4600270.html