您的位置:首页 > 移动开发 > Android开发

问题:【Android】Re-installation failed due to dif...

2013-06-14 09:48 441 查看
错误信息如下:
[2013-06-14 09:38:22 - LayoutTest] Re-installation failed due to different application signatures.
[2013-06-14 09:38:22 - LayoutTest] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2013-06-14 09:38:22 - LayoutTest] Please execute 'adb uninstall com.zhengjian.layouttest' in a shell.
[2013-06-14 09:38:22 - LayoutTest] Launch canceled!

原因:

主要原因是ADT插件赋予APK文件debug签名时数字效验出错可能因为ADT版本不同、APK不是这台计算机生产的在模拟器或Android手机上。

解决:

方法1.这时先运行android模拟机,进入命令行,当然你要定位adb.exe的目录,
D:\adt-bundle-windows-x86-20130522\sdk\platform-tools> adb uninstall com.zhengjian.layouttest
重新运行就可以了。
方法2.或者直接在真机中删除该程序,重新执行即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐