Xamarin - 此版本不符合 Google Play 64 位要求 [英] Xamarin - This release is not compliant with the Google Play 64-bit requirement

查看:28
本文介绍了Xamarin - 此版本不符合 Google Play 64 位要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Visual Studio 中将我的 apk 存档并部署到 Google Play 商店,但它不允许我继续 Beta 版发布,并且 Beta 版发布页面上的唯一消息是以下警告:

I archived and deployed my apk in Visual Studio to the Google play store but it wouldn't let me continue with Beta rollout and the only message on the beta rollout page was the following warning:

点击错误后出现下一条消息:

After clicking the error the next message came up:

消息中提供的链接仅适用于 Android Studio,而不适用于 Visual Studio,因此我不知道如何解决此问题.

The link provided in the message only pertains to Android Studio, not Visual Studio so I had no clue how to resolve this issue.

推荐答案

最简单的修复:

请注意以下屏幕,因为您可能正在寻找复选框,但您不会看到它们,至少在您单击最后一个下拉菜单之前不会看到它们.

Easiest Fix:

Pay attention to the following screen because you may be looking for checkboxes but you won't see them, at least not until you click the last drop-down.

  1. 确保您已将解决方案更改为发布"
  2. 右键点击 Android 项目
  3. 点击属性"
  4. 选择左侧的Android 选项"
  5. 在页面底部点击高级"
  6. 点击支持的架构"下的下拉菜单
  7. 检查armeabi-v7aarm64-v8a

替代(不建议)修复:

为了修复错误,我卸载了我的 Android 项目并编辑了 csproj 文件.

Alternate (not suggested) Fix:

To fix the error I unloaded my Android project and edited the csproj file.

我从此更改了发布配置:

I changed my release config from this:

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>false</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>binRelease</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AndroidManagedSymbols>true</AndroidManagedSymbols>
    <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
  </PropertyGroup>

为此:

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>false</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>binRelease</OutputPath>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
    <AndroidManagedSymbols>true</AndroidManagedSymbols>
    <AndroidSupportedAbis Condition=" '$(AndroidSupportedAbis)' == '' ">armeabi-v7a;arm64-v8a</AndroidSupportedAbis>
    <AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
    <EmbedAssembliesIntoApk>true</EmbedAssembliesIntoApk>
    <AndroidCreatePackagePerAbi>false</AndroidCreatePackagePerAbi>
  </PropertyGroup>

终于

然后在重建和重新上传后,我不再收到错误,但我也意识到我仍然无法完成 Beta 部署.来发现这是因为我在页面左侧(灰色复选标记)还有其他尚未完成的项目.

Finally

then after rebuild and re-upload I no longer get the error but I also realized I still couldn't finish the Beta deployment. Come to find out it was because I had other items on the left side of the page (grey checkmarks) that hadn't been completed.

所以最后,也许我可以忽略警告,但至少我还是解决了这个问题.

So in the end, maybe I could have ignored the warning but at least I resolved the issue anyway.

这篇关于Xamarin - 此版本不符合 Google Play 64 位要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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