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

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

问题描述

我已将我的apk在Visual Studio中存档并部署到了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
  1. Make sure you've changed your solution to "Release"
  2. Right-click on Android project
  3. Click "Properties"
  4. Choose "Android Options" on the left
  5. At the bottom of the page click "Advanced"
  6. Click the dropdown under "Supported Architectures"
  7. Check armeabi-v7a and arm64-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>bin\Release</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>bin\Release</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天全站免登陆