在安装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参数也无法解决这个问题。

相关文章:

  • 2021-08-19
  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
猜你喜欢
  • 2021-12-12
  • 2022-01-09
  • 2021-09-29
  • 2021-07-31
  • 2021-05-21
相关资源
相似解决方案