转自:http://263229365.iteye.com/blog/1328188

Re-installation failed解决方法

使用Eclipse+ADT开发调试Android软件时你会发现安装一个apk文件出错,出现类似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.Demo' in a shell.的错误,主要原因是ADT插件赋予APK文件debug签名时数字效验出错可能因为ADT版本不同、APK不是这台计算机生产的在模拟器或Android手机上,解决方法:一)可以直接在真机中删除该程序,重新执行即可。二)在shell中直接adb uninstall <package name>后重新安装。下面是在第二种方法的说明:
android调试是出现:Re-installation failed due to different application signatures我是在导入已经存在的项目时出现的错误Re-installation failed due to different application signatures

调试信息如下:
[2011-06-09 10:08:37 - ApiDemos] Re-installation failed due to different application signatures.
[2011-06-09 10:08:37 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-06-09 10:08:37 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2011-06-09 10:08:37 - ApiDemos] Launch canceled!

在网上查是这样的:

这时先运行android模拟机,并在cmd内运行,当然你要定位adb.exe的目录,我是放在E:\android\android-sdk-windows\platform-tools 下

E:\android\android-sdk-windows\platform-tools> adb uninstall com.example.android.apis.

重新运行就可以了

更多相关文章

  1. Android屏幕截图并保存截取屏幕的图片到指定文件
  2. Android 编译App报错 找不到android.support.annotation.Keep的
  3. Android 编译提示R文件找不到
  4. 总结系列-Android的文件系统
  5. 编译代码报出Android library projects cannot be launched错误
  6. Android JNI学习笔记——so文件动态加载
  7. Android APK 文件自动安装
  8. Android读写文件二
  9. Android处理9.png文件流程

随机推荐

  1. android 数据持久化——File
  2. 免费分享:5本安卓开发经典书籍,Android 7编
  3. Android中JNI的调用生成头文件步骤
  4. Android Service的思考(3)
  5. android中svg文件的使用
  6. Android中对json的解析和处理
  7. android下的文件权限
  8. Android下的Activity的四种启动模式
  9. Android(安卓)ViewModel 的作用
  10. Animation Android