Re-installation failed解决方法

我的方法:去模拟器卸载上次安装的*.apk

 


下面是网上找的方法!

 


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.

重新运行就可以了

<!--EndFragment-->


 

问题Re-installation failed due to different application signatures.解决

刚刚配置了新的环境来搭建的Android,刚启动一个项目的时候会出现一些问题,让我没有方法解决,同事一看接着就给解决了,还希望大家以后遇见这个问题也会很快的解决。问题描述:

 

  1. [2011-08-14 20:57:08 - XGX - DEMO] Re-installation failed due to different application signatures.  
  2. [2011-08-14 20:57:08 - XGX - DEMO] You must perform a full uninstall of the application. WARNING: This will remove the application data!  
  3. [2011-08-14 20:57:08 - XGX - DEMO] Please execute 'adb uninstall com.xxx.xgx' in a shell.  
  4. [2011-08-14 20:57:08 - XGX - DEMO] Launch canceled!  

问题解决的办法也是比较简单吧,这里我们用的是LePad的环境,就联想的乐Pad,用的联想的SDK,在cmd下找到你sdk的目录,目录下有个tools,例如:D:\xxxxxxx\tools>.这里需要打入问题提示的问题:

 

 

  1. [2011-08-14 20:57:08 - XGX - DEMO] Please execute 'adb uninstall com.xxx.xgx' in a shell.  

例如:D:\xxxxxxx\tools>adb uninstall com.xxx.xgx

 

这样如题的问题就会解决了,就在第一开启一个项目的时候比较容易出现的问题吧

<!--EndFragment-->



<!--EndFragment-->
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值