Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] followed by DELETE_FAILED_INTERNAL_ERROR

佐手、 提交于 2019-12-05 09:50:24

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.

for example:

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

Need to be changed to:

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

In the build.gradle file

It may be installed with different signature. You need to uninstall previous app.

You can check in Settings>>Apps

pRaNaY

UNINSTALL your app manually from device or run below command in adb command line

adb uninstall com.app.app

And try again to run your app.See this get more idea.

For someone facing this issue on MI / Xiaomi Phones, the solution is as follows:

Step 1: Check if installation from unknown sources is enabled:

Go to Settings-> Additional settings-> Privacy-> Unknown sources

Step 2: Goto "Developer options", then enable "Verify apps over USB" in Debugging section.

Step 3: In the "Developer options" itself, enable "Install via USB" option.

If above all the options are in place and if you are still not able to install the app:

Step 4: Settings --> Additional settings --> Developer options --> Turn Off MIUI optimization Disable this option, a dialog will pop-up to restart the device and apply changes.

May be MI users are facing these problems
Just go to Settings -> Mi Account
Create a Mi Account.
Then go to Developers options -> Install via USB (Tick it or enable it)
there you go. Hope it helps!!!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!