【问题标题】:Play Store - This release is not compliant with the Google Play 64-bit requirement (ABI Split x86 build)Play 商店 - 此版本不符合 Google Play 64 位要求(ABI Split x86 构建)
【发布时间】:2023-02-17 20:18:51
【问题描述】:

通过在 build.gradle 文件中添加与此类似的块,我有一个像这样在 ABI 上拆分的应用程序:

splits {
    abi {
        ...
        reset()
        include("x86", "armeabi-v7a", "arm64-v8a", "x86_64")
    }
}

通过以下方式配置版本控制:https://developer.android.com/studio/build/configure-apk-splits#configure-APK-versions

当我尝试将 4 个 APK 上传到 Play 商店时,x86 ABI 的 APK 有一条错误消息:

The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: [1100002]
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.

版本代码细分如下:

  1. armeabi-v7a - 1100001
  2. x86 - 1100002
  3. x86_64 - 1100003
  4. arm64_v8a - 1100004

    为什么说我需要在专门为 32 位设备拆分的 APK 中包含 64 位二进制文​​件?基于 arm 的 APK 不会出现同样的错误,只有 32 位 x86 APK 才会出现。如果我需要在 x86 ABI 中包含 64 位资源,那么拆分它们有什么意义?

【问题讨论】:

    标签: android google-play google-play-console


    【解决方案1】:

    我认为我们案例中的问题是我们首先上传了 x86_64 APK,然后尝试添加其他 3 个 APK。我认为 Play 商店无法识别已经有可用的 x86_64 APK,它只会查看当前上传的 APK。我们无法选择 x86_64 APK 和其他 3 个 APK,所以我认为该工具错误地假设我们没有上传 64 位兼容的 APK。

    不能 100% 确定这是否是这里的原因 - 但这是我唯一能找到的东西。

    【讨论】:

      【解决方案2】:

      “使用 Android App Bundle 发布格式”意味着,您应该从 .apk 格式切换到 .aab 格式,并且该捆绑包将同时具有 32 位和 64 位,并且 google play 商店负责只提供设备所需的内容。

      【讨论】:

        猜你喜欢
        • 2019-12-22
        • 1970-01-01
        • 2019-09-25
        • 1970-01-01
        • 2020-01-24
        • 2020-10-27
        • 2019-12-26
        • 2020-03-07
        • 2020-05-23
        相关资源
        最近更新 更多