无法在Google Play商店Xamarin表单应用中发布APK文件

问题描述 投票:-1回答:1

我想将我的Xamarin.Forms App发布到Google Play商店。但是当我上传APK时,它会警告我并禁用roll-out选项。它说我们需要使用Android App Bundle(。aab)格式,以便可以针对大小和资源优化APK

当前Visual Studio 2019存档选项不支持Android App Bundle。我已采用Visual Studio 2019的最新更新,但仍不支持上述格式。

我在Google上搜索并找到一些链接,可通过修改Project文件中的某些设置从命令提示符处执行此操作。但是用exit code 1几分钟后,构建错误出炉了。由于无法将其发布到Google Play商店,这令人沮丧。我已经发布了[[App的iOS版本。

这里的任何帮助将不胜感激。

谢谢,

古库鲁

android xamarin.forms google-play apk
1个回答
0
投票
我和我的团队目前正在发布到

Google Play,而我们的应用程序APK则没有问题。

App Boundle

是发布较小的应用程序的好方法,它只提供下载应用程序所需的设备。 Xamarin Show最近发布了有关此主题的视频,您可能会对此感兴趣:https://www.youtube.com/watch?v=_IOZ0SUKZq4


通过以下图像,我展示了我们如何上传/发布

APK

首先,在下图中,您仍然支持

APKs

enter image description here

<< APK

正确上传:

enter image description here

然后我们就可以保存并查看

APK

enter image description here

APK

warning

上传enter image description here警告状态:

enter image description here

目前,我们只是忽略警告并继续推出:

enter image description here

如果执行了这些步骤之后,您的[[


开始发布
选项尚未启用,则可能是您的

应用程序仍具有其他一些列表部分 。介绍了[[Google所需的所有信息之后,开始发布选项必须可用。

© www.soinside.com 2019 - 2024. All rights reserved.