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>后重新安装。

解决方案 »

  1.   

    在tools下cmd:
    adb uninstall 程序包
    上面的异常说明你的系统里面已经有了这样一个程序~卸载试试~
      

  2.   

    uninstall
    如果是push上去的系统程序,需要
    adb remount
    adb shell
    cd /system/apps
    找到你的那个程序的apk然后rm
    exit然后再uninstall一遍才可以
      

  3.   

    我也有这个情况啊,我输入adb remount     adb uninstall com.android.XXXX后总是报failure这个要怎么解决呢?