失败[INSTALL_FAILED_UPDATE_INCOMPATIBLE],然后出现DELETE_FAILED_INTERNAL_ERROR [英] Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] followed by DELETE_FAILED_INTERNAL_ERROR

查看:918
本文介绍了失败[INSTALL_FAILED_UPDATE_INCOMPATIBLE],然后出现DELETE_FAILED_INTERNAL_ERROR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在nexus5设备上运行应用程序时,android studio打开错误窗口,提示"安装失败,并显示消息INSTALL_FAILED_CONFLICTING_PROVIDER ",然后我问我是否要卸载现有应用程序,即使该应用程序不存在在设备上. 另外,运行窗口还会显示"失败[INSTALL_FAILED_CONFLICTING_PROVIDER] "

When im trying to run app on nexus5 device, android studio open error window that says "installation failed with message INSTALL_FAILED_CONFLICTING_PROVIDER" and than im asked if i want to uninstall existing application even if it doesnt exist on the device. also, the run window shows "Failure [INSTALL_FAILED_CONFLICTING_PROVIDER]"

单击确定时,我会进入运行窗口:

when click ok i get on the run window :

"设备外壳命令:下午卸载com.app.app DELETE_FAILED_INTERNAL_ERROR"

"DEVICE SHELL COMMAND: pm uninstall com.app.app DELETE_FAILED_INTERNAL_ERROR"

感谢您的帮助!

推荐答案

我注意到使用棉花糖(Android 6.0+)时,新的"com.google.android.gms"播放服务版本8.3.0存在问题. 我建议使用8.1.0版本-在我的情况下可以解决该问题.

I noticed that when using Marshmallow (Android 6.0+) there is a problem with the new "com.google.android.gms" play services version 8.3.0 . I would recommend using the 8.1.0 version - that solved the problem in my case.

例如:

dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        compile 'com.google.android.gms:play-services-gcm:8.3.0'
}

需要更改为:

dependencies {
            compile fileTree(include: ['*.jar'], dir: 'libs')
            compile 'com.google.android.gms:play-services-gcm:8.1.0'
    }

在build.gradle文件中

In the build.gradle file

这篇关于失败[INSTALL_FAILED_UPDATE_INCOMPATIBLE],然后出现DELETE_FAILED_INTERNAL_ERROR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆