Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
2016-05-17 09:43
155 查看
运行安卓工程报如下错误
[2016-05-17 09:15:20 - GpCommunityManager] ------------------------------
[2016-05-17 09:15:20 - GpCommunityManager] Android Launch!
[2016-05-17 09:15:20 - GpCommunityManager] adb is running normally.
[2016-05-17 09:15:20 - GpCommunityManager] Performing com.xxx.gpcommunitymanager.ui.LoginActivity activity launch
[2016-05-17 09:15:20 - GpCommunityManager] Automatic Target Mode: using device '75UBBKQ22N4P'
[2016-05-17 09:15:20 - GpCommunityManager] Uploading GpCommunityManager.apk onto device '75UBBKQ22N4P'
[2016-05-17 09:15:22 - GpCommunityManager] Installing GpCommunityManager.apk...
[2016-05-17 09:15:25 - GpCommunityManager] Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
[2016-05-17 09:15:25 - GpCommunityManager] Please check logcat output for more details.
[2016-05-17 09:15:25 - GpCommunityManager] Launch canceled!
[2016-05-17 09:22:46 - GpCommunityManager] ------------------------------
解决方法:打开终端,运行
adb uninstall com.xxx.gpcommunitymanager 命令,其中com.xxx.gpcommunitymanager 是你工程包名(manifest中的包名)等终端提示
Success 之后,重新运行该项目,即可。
[2016-05-17 09:15:20 - GpCommunityManager] ------------------------------
[2016-05-17 09:15:20 - GpCommunityManager] Android Launch!
[2016-05-17 09:15:20 - GpCommunityManager] adb is running normally.
[2016-05-17 09:15:20 - GpCommunityManager] Performing com.xxx.gpcommunitymanager.ui.LoginActivity activity launch
[2016-05-17 09:15:20 - GpCommunityManager] Automatic Target Mode: using device '75UBBKQ22N4P'
[2016-05-17 09:15:20 - GpCommunityManager] Uploading GpCommunityManager.apk onto device '75UBBKQ22N4P'
[2016-05-17 09:15:22 - GpCommunityManager] Installing GpCommunityManager.apk...
[2016-05-17 09:15:25 - GpCommunityManager] Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
[2016-05-17 09:15:25 - GpCommunityManager] Please check logcat output for more details.
[2016-05-17 09:15:25 - GpCommunityManager] Launch canceled!
[2016-05-17 09:22:46 - GpCommunityManager] ------------------------------
解决方法:打开终端,运行
adb uninstall com.xxx.gpcommunitymanager 命令,其中com.xxx.gpcommunitymanager 是你工程包名(manifest中的包名)等终端提示
Success 之后,重新运行该项目,即可。
相关文章推荐
- 2016.5.16——leetcode:Rotate Array,Factorial Trailing Zeroe
- AEAI WM V1.5.0 升级说明,开源工作管理系统
- AEAI WM V1.5.0 升级说明,开源工作管理系统
- LeetCode 336. Palindrome Pairs
- 03-树3 Tree Traversals Again
- Failed to deploy virtual device -- Genymotion安装虚拟器失败
- sleep、yield、wait、join的区别
- Spirng+In+Action(Craig Walls Ryan Breidenbach)
- CodeForces 608A Saitama Destroys Hotel(水题)
- 服务器主板s2600cp2配置Raid5全过程
- No TypeTag available for person
- Rails安全检测工具之Brakeman介绍
- mdadm实现对raid1阵列的管理
- Syntax error, parameterized types are only available if source level is 1.5 解决方案
- Waiting for Light
- int main( int argc ,char** argv) windows下如何传递参数
- 关于retain,assign,copy,strong,weak的见解
- bullet物理引擎btBvhTriangleMeshShape,btHeightfieldTerrainShape的使用
- ADB Server Didn’t ACK ,failed to Start Daemon 解决方法
- Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.