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

更多相关文章

  1. Android之文件操作
  2. 拷贝的Android源码不能单独编译mmm命令提示找不到
  3. Android SDK目录下的各个文件夹的作用
  4. Android修改文件和文件夹权限
  5. android打开pdf ppt word excel chm html text 文件
  6. android加载文件的方式,路径的写法
  7. android中创建目录以及txt文件
  8. Android 指定(后缀名)格式文件扫描

随机推荐

  1. Android手势处理框架-android gesture de
  2. Android(安卓)cannot resolve constructo
  3. 一个WP8样式的Android(安卓)ProgressBar
  4. Android(安卓)中调用 其他 app 的 url 协
  5. Android(安卓)获取系统时间
  6. 进度条ProgressBar
  7. Android(安卓)网页无法打开 net:ERR_UNKN
  8. android:实现退出确认框对话
  9. Android(安卓)拼音帮助类
  10. android中读取assets中的文件