android运行时出现Re-installation failed due to different application signatures时,解决办法

来源:互联网 发布:内存数据库 编辑:程序博客网 时间:2024/05/17 08:53


Android运行时出现下面的错误:

[2013-04-06 00:13:42 - BaiduMapsApiDemo] Re-installation failed due to different application signatures.

[2013-04-06 00:13:42 - BaiduMapsApiDemo] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2013-04-06 00:13:42 - BaiduMapsApiDemo] Please execute 'adb uninstall baidumapsdk.demo' in a shell.

[2013-04-06 00:13:42 - BaiduMapsApiDemo] Launch canceled!


解决办法:

一、cmd下,进入命令行,cd到SDK下的platform-tools 下,执行命令:adb uninstall 应用程序的包名

    结果success后,重新运行就可以了

    如 E:\android\android-sdk-windows\platform-tools> adb uninstall com.wtt

         Success


二、卸载掉手机上已经装了的和该程序同名的应用程序即可


原创粉丝点击