Re-installation failed due to different application signatures.

简介:

问题:
在虚拟设备上运行程序时提示安装失败。 
[2010-08-08 00:38:30 - myApp] Re-installation failed due to different application signatures.
[2010-08-08 00:38:30 - myApp] You must perform a full uninstall of the application. WARNING: This will remove the application data!
[2010-08-08 00:38:30 - myApp] Please execute 'adb uninstall moakap.myApp' in a shell.
[2010-08-08 00:38:31 - myApp] Launch canceled!

原因分析:
要安装的应用程序的SDK版本和现有的AVD上已安装的版本不同,导致安装失败。
 
解决方法:
1. 检查当前项目的 SDK platform版本配置是否正确,确保与AVD的一致;
2. 完全卸载AVD上已经安装的版本
在命令行中执行adb uninstall moakap.myApp,其中moakap.myApp为要卸载的应用程序的名称。
( 执行命令之前,请确保Adnroid SDK tools目录已添加入path环境变量 
    我的电脑-> 属性 -> 高级 -> 环境变量 -> 系统变量, 在path变量中添加Adnroid SDK tools的路径,保存即可。

这时先运行android模拟机,并在cmd内运行,当然你要定位adb.exe的目录,我是放在D:\android\android-sdk-windows\platform-tools 下

D:\android\android-sdk-windows\platform-tools> adb uninstall com.example.android.apis.

重新运行就可以了

 

原文链接


作者:kissazi2 
出处:http://www.cnblogs.com/kissazi2/ 
本文版权归作者所有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

转载:http://www.cnblogs.com/kissazi2/archive/2012/07/02/2572973.html

目录
相关文章
|
16天前
Installation failed due to: ‘-26‘
Installation failed due to: ‘-26‘
14 2
|
资源调度
There appears to be trouble with your network connection.Retrying
There appears to be trouble with your network connection.Retrying
932 0
There appears to be trouble with your network connection.Retrying
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
成功解决ProxyError: Conda cannot proceed due to an error in your proxy configuration.Check for typos an
|
5月前
ERROR: Encountered errors while bringing up the project.
ERROR: Encountered errors while bringing up the project.
|
8月前
|
开发工具
WARNING: library configuration mismatch
WARNING: library configuration mismatch
164 0
|
11月前
|
Python
成功解决 ProxyError: Conda cannot proceed due to an error in your proxy configuration
关掉win10的代理软件, 没有效果, 想起来代理软件会自动更改ie的代理设置
581 0
|
Shell
遇到INSTALL_FAILED_VERIFICATION_FAILURE怎么办
遇到INSTALL_FAILED_VERIFICATION_FAILURE怎么办
819 0
|
Java 应用服务中间件
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
报错解决:Reason: Failed to determine a suitable driver class
报错解决:Reason: Failed to determine a suitable driver class
2452 0
报错解决:Reason: Failed to determine a suitable driver class
|
并行计算 PyTorch 算法框架/工具
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决
CUDA unknown error - this may be due to an incorrectly set up environment 问题解决