Android调试时报错\"Re-installation failed due to different....

洛央虲 2011-03-08 02:19:21
Android调试时报错\"Re-installation failed due to different application signatures\"怎么解决

Android调试时报错\"Re-installation failed due to different application signatures\"怎么解决
下面是控制台的情况:

[2011-03-08 13:32:00 - Activity04] ------------------------------
[2011-03-08 13:32:00 - Activity04] Android Launch!
[2011-03-08 13:32:00 - Activity04] adb is running normally.
[2011-03-08 13:32:00 - Activity04] Performing mars.activity.FirstActivity activity launch
[2011-03-08 13:32:00 - Activity04] Automatic Target Mode: launching new emulator with compatible AVD \'1.6\'
[2011-03-08 13:32:00 - Activity04] Launching a new emulator with Virtual Device \'1.6\'
[2011-03-08 13:32:08 - Activity04] New emulator found: emulator-5554
[2011-03-08 13:32:08 - Activity04] Waiting for HOME (\'android.process.acore\') to be launched...
[2011-03-08 13:33:04 - Activity04] HOME is up on device \'emulator-5554\'
[2011-03-08 13:33:04 - Activity04] Uploading Activity04.apk onto device \'emulator-5554\'
[2011-03-08 13:33:04 - Activity04] Installing Activity04.apk...
[2011-03-08 13:33:14 - Activity04] Re-installation failed due to different application signatures.
[2011-03-08 13:33:14 - Activity04] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2011-03-08 13:33:14 - Activity04] Please execute \'adb uninstall mars.activity\' in a shell.
[2011-03-08 13:33:14 - Activity04] Launch canceled!

网上搜了一些解决方案 但是不懂怎么操作

以下是网上找到的方法。很多地方都指示说是这样做,但是实在不懂怎么回事儿。请懂的前辈指导下。

这个错误的主要原因是ADT插件赋予APK文件debug签名时数字效验出错可能因为ADT版本不同、APK不是这台计算机生产的在模拟器或Android手机上, 解决的方法可以直接在真机中删除该程序,重新执行即可,或在shell中直接adb uninstall <package name>后重新安装。

...全文
2025 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
huiyong446 2011-11-29
  • 打赏
  • 举报
回复
我也有这个情况啊,我输入adb remount adb uninstall com.android.XXXX后总是报failure。。。

这个要怎么解决呢?
tfront 2011-03-08
  • 打赏
  • 举报
回复
uninstall
如果是push上去的系统程序,需要
adb remount
adb shell
cd /system/apps
找到你的那个程序的apk然后rm
exit然后再uninstall一遍才可以
儿大不由爷 2011-03-08
  • 打赏
  • 举报
回复
已经安装过了,但是签名不同所以不行,可以卸载再安装,或者修改应用的版本号
纠结的木棉花 2011-03-08
  • 打赏
  • 举报
回复
在tools下cmd:
adb uninstall 程序包
上面的异常说明你的系统里面已经有了这样一个程序~卸载试试~

80,350

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧