adb install application overlay failed

D:\dev_tools\win>adb install -r xxx-debug.apk
6813 KB/s (7396703 bytes in 1.060s)
        pkg: /data/local/tmp/xxx-debug.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

 

It is usually caused by the application that has not been uninstalled cleanly before.

1. So first go to Settings -> Application Installation and Management -> Click to open the corresponding application, stop first and then uninstall.

2. If it still doesn't work, go to /data/data to delete the corresponding application directory.

3. Enter /system/app and delete the corresponding application directory

4. Enter the /system/prev-app directory and delete the corresponding application directory

 

Restart and try again, it's ok

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326679385&siteId=291194637