您的位置:首页 > 大数据 > 人工智能

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 之后,重新运行该项目,即可。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: