问题描述
我在做得到一个INSTALL_FAILED_UPDATE_INCOMPATIBLE误差
I am getting an INSTALL_FAILED_UPDATE_INCOMPATIBLE error upon doing a
adb install MyPackage.apk
我做了所有其他职位在那里建议,即包的卸载与
I did what all other posts out there suggest, namely an uninstall of the package with
adb uninstall com.company.package
(与'公司'和'包'适当的替换),该报告
成功,但安装程序错误仍然出现...
(with appropriate substitutions for 'company' and 'package'), which reports'Success', but the install error still appears...
在亚行logcat输出我得到
In the adb logcat 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
这表明仍然有previous的安装痕迹留下,但我无法弄清楚如何摆脱那些痕迹。
Which suggests that there are still traces of a previous install left, but I cannot figure out how to get rid of those traces.
任何想法?该设备没有扎根,我想保持这种方式如果可能的话。
Any ideas? The device is not rooted and I would like to keep it that way if possible.
推荐答案
在我的情况下,即使我卸载应用程序,它仍然安装其他用户。转到设置>应用> 您的应用程序>卸载所有用户
在菜单中。
In my case, even though I uninstalled the app, it was still installed for other users. Go to Settings > Apps > "Your App" > Uninstall for all users
in the menu.
的我的设备是Nexus 5的运行API 22(5.1)的
这篇关于INSTALL_FAILED_UPDATE_INCOMPATIBLE但应用程序没有安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!