如何解决“无法更新应用(错误代码:901)";错误? [英] How to resolve "Can't Update the app(Error Code : 901)" error?

查看:2016
本文介绍了如何解决“无法更新应用(错误代码:901)";错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的一个实时应用程序从Native迁移到Xamarin.我已经成功地做到了,现在我正尝试在Google Play商店中发布它.

I'm migrating one of my live applications from Native to Xamarin. I have successfully done that and now I'm trying to release the same on Google Play Store.

我已经在Xamarin android中为相同版本生成了一个发行版本.以下是描述我所面临问题的方案-

I have generated a release build for the same in Xamarin android. Following are the scenarios which will describe the issue I'm facing -

  1. 新安装-由于我有适用于我的应用程序的发行版APK,因此可以将其安装在我的设备上,并且可以正常运行.

  1. Fresh Install - As I have a release apk for my application, I'm able to install it on my device and it's working smoothly.

更新方案-正如我之前提到的,该应用程序已经发布,该应用程序是在本机Android上开发的,我已经安装了该应用程序的实时版本,并尝试使用我从Xamarin生成的最新版本.在这种情况下,我遇到了问题. 附有屏幕截图以供参考.

Update Scenario - As I have mentioned earlier that the application is already live which was developed on Native Android, I have installed the live version of the same and tried updating the app using the latest release build that I have generated from Xamarin. In this case I'm getting the issue. Attached a screenshot for the reference.

到目前为止,我为解决该问题所做的尝试-

由于与此问题相关的问题很多,因此我尝试了以下方法来消除此问题-

As there are multiple questions related to this issue, I have tried following things to get rid of this issue -

  • 清除数据并清除Google Play商店应用程序的缓存.
  • 检查签名键是否与以前相同.
  • 检查软件包名称是否与以前相同.
  • 删除了Google帐户,然后根据建议再次添加.

我需要尽快解决此错误,因此我不能将全新安装"技术用作选项.

I need to resolve this error soon, so I can't use the Fresh Install technique as an option.

推荐答案

我能够确定问题并很幸运得到解决.在这里共享它,这样如果有人因相同的问题而陷入困境,那么他们可以参考此内容.

I am able to identify the issue and fortunate that it got resolved. Sharing it here so if anyone gets stuck for the same issue then they can refer this.

已识别的问题-该问题非常可笑,因为即使我更改了值,也无法从Android Manifest的UI中更新版本代码.这可能是Xamarin或Visual Studio(适用于Xamarin)中的故障.

Identified Issue - The issue was quite silly as the version code wasn't getting updated from the UI of Android Manifest even if I was changing the values. That might be the glitch in Xamarin or Visual Studio (for Xamarin).

解决此问题的方法-我从AndroidManifest.xml中手动删除了版本代码的声明以及其他未更改的值,然后从清单的UI部分升级了版本代码并构建发布解决方案.这就是我最终解决问题的方式.

What I did to resolve this - I manually deleted the declaration of Version Code and other values which weren't changing from AndroidManifest.xml then from the UI section of the Manifest I upgraded the Version Code and build the solution for release. That's how things got resolved at my end.

希望这会有所帮助.谢谢.

Hope this helps. Thanks.

这篇关于如何解决“无法更新应用(错误代码:901)";错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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