Unity3D - 无法构建 64 位 Android

Unity3D - Cannot build 64 bit Android

我有一个类似于的问题,但不完全相同。

  1. 在我的 Android 构建设置中,我勾选了“构建应用程序包”。
  2. 脚本后端 = IL2CPP
  3. API 兼容级别 = .NET Standard 2.0
  4. 目标架构 = ARMv7、ARM64、x86

当我构建 AAB 文件并将其上传到 Google 时,出现错误

The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 6.

当我构建游戏时,我可以看到进度 window 表明它正在构建 64 位源。那么为什么 Google 一直告诉我它不包含 64 位版本?

来自unity forum

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

You may probably already noticed but in 2019.2 x86 target is marked as deprecated, in 2019.3 it will be removed completely.

在播放器设置中取消选择 x86 架构。