eclipse 执行模拟器时报Re-installation failed due to different application signatures.错误。

来源:互联网 发布:nginx怎么配置ssl证书 编辑:程序博客网 时间:2024/05/22 08:13

[2013-09-28 09:08:09 - ApiDemos] Re-installation failed due to different application signatures.
[2013-09-28 09:08:09 - ApiDemos] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2013-09-28 09:08:09 - ApiDemos] Please execute 'adb uninstall com.example.android.apis' in a shell.
[2013-09-28 09:08:10 - ApiDemos] Launch canceled!

---解决办法:在对应的adb.exe目录下,cmd执行adb uninstall com.example.android.apis,即可解决;

其中这里有个系统环境变量,可以在任何目录下执行adb命令,不需在adb.exe目录下执行。

系统环境变量设置:我的电脑属性--->环境变量-->系统环境变量内path,在path最后增加adb.exe目录即可。