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

查看:1199
本文介绍了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或应用捆绑包可用于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文件夹中所有
    都存在。因此,对于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

  1. I have both ARM7 and ARM64 architectures set.
  2. I am excluding x86.
  3. When I open the .aab in an archive viewer, the lib folder has all of the .so's for both arm64-v8a and armabi-v7a.
  4. I'm using IL2CPP, .NET 4.x
  5. I'm using Unity 2018.3.7f1
  6. My ndk version is 16b
  7. My Android Studio is up to 3.4.2 and gradle is 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的热门新方法,但似乎对aab是否实际上是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?

推荐答案

看来,即使AAB兼容,Play控制台中仍然存在一个错误,该错误仍会显示此消息。该问题应该在上周五下午解决。
立即重试。

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天全站免登陆