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>后重新安装。
下面是控制台的情况:[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>后重新安装。
解决方案 »
- FragmentActivity与Activity问题
- android开发的sdcard权限问题和一个很诡异的错误,调试了3个小时......要疯了,真心没有招了,拜托大家好心帮帮我吧
- 求助关于调用系统相机保存读取的问题
- adb push (read-only file system)
- java.lang.NullPointerException 错误??!!!
- listview控件每一项中ImageView如何显示sd图片文件
- 菜鸟求助,eclipse无法创建AVD
- actionbar实现tab的时添加背景图片
- 刚学Android,问一个小白问题
- Android存储头像
- 关于Searchable中显示的圆形进度条
- 关于android界面布局的问题!!
adb uninstall 程序包
上面的异常说明你的系统里面已经有了这样一个程序~卸载试试~
如果是push上去的系统程序,需要
adb remount
adb shell
cd /system/apps
找到你的那个程序的apk然后rm
exit然后再uninstall一遍才可以