android Re-installation failed due to different application signatures.
16lz
2021-01-23
转自: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.
重新运行就可以了
更多相关文章
- Android屏幕截图并保存截取屏幕的图片到指定文件
- Android 编译App报错 找不到android.support.annotation.Keep的
- Android 编译提示R文件找不到
- 总结系列-Android的文件系统
- 编译代码报出Android library projects cannot be launched错误
- Android JNI学习笔记——so文件动态加载
- Android APK 文件自动安装
- Android读写文件二
- Android处理9.png文件流程