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.
source
share