Play Store-此版本不符合Google Play 64位要求(ABI Split X86 Build)
我有一个在ABI上划分的应用程序,通过在build.gradle文件中添加类似的块来
splits {
abi {
...
reset()
include("x86", "armeabi-v7a", "arm64-v8a", "x86_64")
}
}
分配ABI: https://developer.android.com/studio/build/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.
的故障如下:
- ARMEABI -V7A -1100001
- X86-1100002
- X86_64-1100002
- 版本
代码 说我需要在专门用于32位设备的APK中包含64位二进制文件?基于ARM的APK不会发生相同的错误,仅32位X86 APK。如果我需要在x86 ABI中包括64位资源,将它们分开的意义是什么?
I have an app that is split on ABI like this by adding a block similar to this in the build.gradle file:
splits {
abi {
...
reset()
include("x86", "armeabi-v7a", "arm64-v8a", "x86_64")
}
}
With versioning configured in the following manner: https://developer.android.com/studio/build/configure-apk-splits#configure-APK-versions
When I try to upload the 4 APKs to the play store, the APK for the x86 ABI has an error that says:
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.
The breakdown of version codes is the following:
- armeabi-v7a - 1100001
- x86 - 1100002
- x86_64 - 1100003
- arm64_v8a - 1100004
Why is it saying that I need to include 64 bit binaries in the APK specifically split for 32 bit devices? The same error does not occur for the arm based APKs, only the 32 bit x86 APK. What is the point of splitting them if I need to include 64bit resources with the x86 ABI?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为在我们的情况下的问题是我们首先上传了x86_64 APK,然后尝试在事实之后添加其他3个APK。我认为Play Store不认识到已经有一个X86_64 APK,它只会查看当前上传中的APK。我们无法选择x86_64 APK与其他3个APK一起,因此我认为该工具错误地认为我们没有上传64位兼容的APK。
不能100%确定这是否是原因 - 但这是我唯一能找到的。
I think the problem in our case was that we uploaded the x86_64 APK first, and then attempted to add the 3 other APKs after the fact. I think that Play Store doesn't recognize that there is already an x86_64 APK available and it only looks at the APKs that are in the current upload. We couldn't select the x86_64 APK alongside the 3 others, so I think that the tool mistakenly assumed we weren't uploading a 64 bit compatible APK.
Not 100% sure if this was the cause here - but this is the only thing I could find.
“使用Android App Bundle Publishing Format”是指从.APK切换到.AAB格式,并且该捆绑包将具有32bit和64bit和Google Play商店,只需处理设备所需的内容。
"Use the Android App Bundle publishing format" means, you should switch from .apk to .aab format, and the bundle will have both 32bit and 64bit and google play store takes care of delivering only what is needed to the device.