INSTALL_FAILED_UPDATE_INCOMPATIBLE, but the application is not installed

I get an INSTALL_FAILED_UPDATE_INCOMPATIBLE message when I execute

adb install MyPackage.apk

I did what all other posts suggest, namely removing a package using

adb uninstall com.company.package

(with appropriate substitutions for "company" and "package"), in the Success reports, but the installation error still appears ...

In logcat adb output i get

No content provider found for permission revoke: 
   file:///data/local/tmp/MyPackage.apk
Package com.company.package codePath changed from 
   /data/app/com.company.package-1.apk to 
   /data/app/com.company.package-2.apk; Retaining data and using new
Package couldn't be installed in /data/app/com.company.package-2.apk

This suggests that there were traces of the previous installation on the left, but I can’t figure out how to get rid of these tracks.

Any ideas? The device is not deployed, and I would like to keep it that way, if possible.

+4
source share
2 answers

, , . Settings > Apps > "Your App" > Uninstall for all users .

- API Nexus 5 22 (5.1)

+8

, Android 5.0+, nexus 6 5.1.1

, :

INSTALL_FAILED_UPDATE_INCOMPATIBLE 

Settings > Apps, :

" "

:

" "

+2

Source: https://habr.com/ru/post/1533207/


All Articles