`
263229365
  • 浏览: 473527 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

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-->
分享到:
评论

相关推荐

    Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/

    Installation failed with message Failed to finalize session : INSTALL_FAILED_INVALID_APK: /data/app/vmdl890369339.tmp/7_slice__ signatures are inconsistent. It is possible that this ...

    种常见的Android开发错误及解决方.pdf

    八、Re-installation failed due to different application signatures 这个错误是由于应用程序签名不相同。解决方法是卸载已经安装的应用程序,重新安装新的应用程序。 这些常见的 Android 开发错误可以通过检查...

    mysql安装失败

    win7 系统 the security settings could not be applied to the database 在安装mysql的时候,就会遇到以下错误。遇到错误不可怕,怕的就是被错误所击倒! The security settings could not be applied ...解决方法:

    Android开发中的9个常见错误和解决方法

    9. **签名不匹配**:在更新应用时出现“Re-installation failed due to different application signatures”错误,这通常是由于新旧版本应用的签名不一致。解决方法是通过adb命令行工具卸载旧应用(`adb uninstall ...

    Bochs - The cross platform IA-32 (x86) emulator

    - re-implemented "options" parameter for additional options of connected devices (currently only used to set the speed reported by device and to specify an alternative redolog file of USB MSD disk ...

    NordicSemiconductor.nRF_DeviceFamilyPack.8.44.1.pack

    nRF_DeviceFamilyPack库

    Senfore_DragDrop_v4.1

    2. Installation 3. Getting started 4. Known problems 5. Support and feedback 6. Bug reports 7. Upgrades and bug fixes 8. Missing in this release 9. New in version 4.x 10. TODO 11. Licence, Copyright ...

    Python安装包version 3.1.5

    If a message is printed about a failed test or a traceback or core dump is produced, something is wrong. On some Linux systems (those that are not yet using glibc 6), test_strftime fails due to a non-...

    BURNINTEST--硬件检测工具

    Installation ============ 1) Uninstall any previous version of BurnInTest 2) Double click (or Open) the downloaded ".exe" file 3) Follow the prompts UnInstallation ============== Use the Windows ...

    S7A驱动720版本

    information see the document "S7A_as_Service.PDF" on the installation CD . - The driver now switches "seamless" between primary and backup device and vice versa. Solved problems: - The field ...

    EurekaLog_7.5.0.0_Enterprise

    EurekaLog 7.5 (18-August-2016) 1)..Important: Installation layout was ...33)..Fixed: Re-parenting after ReallocMem 34)..Fixed: Editing SMTP server options 35)..Fixed: SMTP server not using real user...

    8-07-14_MegaCLI for linux_windows

    Installation Commands: ======================= Run MegaCli from the Command Prompt. Use -h option to see help menu. ===================================== ===================================== ...

    php.ini-development

    ;;;;;;;;... 1.... 2.... 3.... 4.... 5.... 6.... The syntax of the file is extremely simple.... Section headers (e.g.... at runtime.... There is no name validation.... (e.g.... previously set variable or directive (e.g....

    OutlookAttachView v2.73

    OutlookAttachView v2.73 ... Related Utilities ================= * NK2Edit - Edit, merge and fix the AutoComplete files (.NK2) of Microsoft Outlook. ...OutlookAttachView scans all messages stored in ...

Global site tag (gtag.js) - Google Analytics