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

查看:28
本文介绍了即使应用程序似乎未安装,也失败 [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天全站免登陆