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

错误信息如下:
[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.或者直接在真机中删除该程序,重新执行即可。

转载于:https://my.oschina.net/zhengjian/blog/137465

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值