即使未安装应用程序,也会发生[INSTALL_FAILED_UPDATE_INCOMPATIBLE]失败 [英] Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE] even if app appears to not be installed

查看:641
本文介绍了即使未安装应用程序,也会发生[INSTALL_FAILED_UPDATE_INCOMPATIBLE]失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试将应用程序部署到Android设备时,出现以下错误:

When trying to deploy my app to the Android device I am getting the following error:

Deployment failed because of an internal error: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

我知道这问题,但未安装该应用程序.在尝试部署期间,Visual Studio已将其删除/部分删除了它.

I am aware of this question but the app is not installed. It has been removed/partially removed by Visual Studio during the attempt to deploy.

过去,我是通过从Google Play商店下载应用程序,然后从设置"->应用程序管理器"中删除该应用程序来解决此问题的.但是,现在尝试安装它时出现错误不兼容的更新".

In the past I solved this by downloading the app from the google play store and then removing it from settings->Application manager. However, now i am getting the error "incompatible update" when it is trying to install it.

我试图使用Titanium Backup和其他一些东西将其删除,但是没有运气.

I tried to remove it using Titanium Backup and few other things but no luck.

编辑1

我从@Motz意识到,我没有提到明显的解决方案是行不通的.即,该应用程序未出现在设置"->应用程序"

I realised (from @Motz) that I haven't mentioned that the obvious solution doesn't work. Namely, the app doesn't appear in Settings->Apps

推荐答案

我已经看过好几次了.通常是由于我的手机上有一个已签名的发行版本,然后尝试在顶部部署调试版本.它处于无效状态,无法完全卸载.

I've seen this several times. Usually it's due to having a signed release version on my phone, then trying to deploy the debug version on top. It gets stuck in an invalid state where it's not fully uninstalled.

最适合我的解决方案是打开命令提示符并键入:

The solution that works for me is to open a command prompt and type:

adb uninstall my.package.id

通常可以完成卸载,以便我继续开发.

That usually completes the uninstall in order for me to continue development.

祝你好运!

这篇关于即使未安装应用程序,也会发生[INSTALL_FAILED_UPDATE_INCOMPATIBLE]失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆