如何使用 Xamarin Visual Studio 2015 构建 Android App Bundle?

123*_*ing 3 android visual-studio xamarin.android xamarin visual-studio-2015

我看到 Google Play 不再允许 apk 格式,它需要 Android App Bundle。

\n

这篇文章说:

\n
\n

要启用对 Android 应用程序包的支持,您\xe2\x80\x99 需要在 Android 选项中选择\nAndroid 包格式属性的包值。执行此操作时,请确保将项目更改为\n发布配置,因为应用程序包\n仅用于发布包。为此,您可以按照以下步骤操作:

\n
1. Right click your project, and select Properties.\n2. Navigate to Android Options.\n3. Change your configuration to Release.\n4. Change the Android Package Format to bundle.\n
Run Code Online (Sandbox Code Playgroud)\n
\n

Android 包格式镜像

\n

但我在 Visual Studio 2015 的 Android 选项中找不到该选项。\nVS 2015 Android 选项图像

\n

我想坚持使用 Visual Studio 2015,因为我没有时间升级(而且在旧硬件上升级软件可能会导致延迟,我可能需要购买一台我真的不想要的新笔记本电脑)。\n是有没有办法使用 Visual Studio 2015(或使用 Google 的工具?)构建 Android App Bundle,或者我必须在 Windows 上安装 Visual Studio 16.4 或更高版本?

\n

tea*_*eng 9

对于 Visual Studio 2019,请转到 Xamarin.Android 项目的属性。在“Android 选项”侧菜单下,为“Android 包格式”选择“捆绑”。

在此输入图像描述