Unity aab 不符合 Google Play 64 位要求 [英] Unity aab not compliant with the Google Play 64-bit requirement

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

问题描述

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

I have a Unity project that I'm switching from APKs to AABs (app bundles). Previously, when I was building it as an APK, the Google Play Console told me the APK was 64-bit compliant.

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

Now that I'm building an aab, I'm getting the warning:

此版本不符合 Google Play 64 位要求.以下 APK 或 App Bundle 可用于 64 位设备,但他们只有 32 位本机代码

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

这里有很多类似的主题都讨论了我已经完成的了解更多"链接.在切换到应用程序包之前,我已经完成了让我的应用程序兼容 64 位的所有工作.

A lot of similar threads here talk about following the "Learn more" links, which I've done. I had already done all of the work to get my app 64-bit compliant before switching to app bundles.

其他线程讨论了 Android Studio 解决方案,我无法使用它,因为我的自动构建过程涉及从命令行使用 Unity 进行构建,所以它必须是 Unity 配置或破坏.

Other threads talk about Android Studio solutions, which I can't use because my automated build process involves building with Unity from command line, so it has to be Unity configurations or bust.

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

My expectation was the app bundles were supposed to be the hot new way to let Google build better APKs for you, but it seems like it's getting confused on whether or not aabs are actually 64-bit compliant, which seems to defeat the whole purpose.

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

Is this a Unity problem, does Google have an error in their system with regards to app bundles, or is there some other step I'm missing?

推荐答案

看起来 Play Console 中存在一个错误,即使 AAB 符合规定,也会显示此消息.这应该是在上周五下午修复的.现在再试一次.

It looks that there was a bug in the Play Console where this message was displayed even when the AAB was compliant. This should have been fixed last Friday afternoon. Try again now.

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

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