Unity aab 不符合 Google 播放 64 位要求

Unity aab not compliant with the Google Play 64-bit requirement

我有一个 Unity 项目,我正在从 APK 切换到 AAB(应用程序包)。以前,当我将其构建为 APK 时,Google Play 控制台告诉我该 APK 兼容 64 位。

现在我正在构建 aab,我收到了警告:

This release is not compliant with the Google Play 64-bit requirement. The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code

  1. 我同时设置了 ARM7 和 ARM64 架构。
  2. 我不包括 x86。
  3. 当我在存档查看器中打开 .aab 时,lib 文件夹包含所有 .so 用于 arm64-v8a 和 armabi-v7a。
  4. 我正在使用 IL2CPP、.NET 4.x
  5. 我使用的是 Unity 2018.3.7f1
  6. 我的ndk版本是16b
  7. 我的 Android Studio 最高为 3.4.2,gradle 为 3.2

这里有很多类似的话题都在谈论遵循 "Learn more" 链接,我已经这样做了。在切换到应用程序包之前,我已经完成了使我的应用程序兼容 64 位的所有工作。

其他线程谈论 Android Studio 解决方案,我不能使用它,因为我的自动构建过程涉及从命令行使用 Unity 构建,所以它必须是 Unity 配置或失败。

我的期望是应用程序包应该是让 Google 为您构建更好的 APK 的热门新方法,但它似乎对 aabs 是否实际上是 64 位兼容感到困惑, 这似乎打败了整个目的。

这是 Unity 的问题吗?Google 他们的系统是否有关于应用程序包的错误,或者我是否遗漏了其他一些步骤?

Play 管理中心似乎存在错误,即使 AAB 合规,该消息也会显示。这应该在上周五下午得到解决。 现在再试一次。

自昨天(2019 年 8 月 19 日)以来遇到此问题的人:

播放器设置>其他设置中,您现在必须取消选中x86(32位Intel架构).


您现在只会收到以下警告:

The device types on which your application can be installed will be more restricted.

但是,就我而言,它从 12392 台设备下降到 12385 台设备。

Here是Unity会员对这个问题的看法:

x86 is used by less than 0.4% of all Android devices, so it shouldn't have any real impact.

x86 target will be removed completely in Unity 2019.3.