android - react native : This release is not compliant with the Google Play 64-bit requirement

标签 android google-play react-native

当我在 Google Play 中发布我的 React Native App 时,我遇到了这个错误:

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: 9 and 24.

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.

enter image description here

我该如何解决这个错误?

最佳答案

您需要将以下内容添加到您的 android/app/build.gradle 文件中:

abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"

具体来说,您需要为列表中已有的任何 32 位 ABI 添加 64 位 ABI。

关于android - react native : This release is not compliant with the Google Play 64-bit requirement,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58076808/

相关文章:

android - 捕获所有 Ctrl-?安卓下

android - Play 商店显然忽略了我的支持屏幕设置

android - 谷歌机器学习套件 : couldn't find "libbarhopper_v2.so"

android - 部分 ListView header 的同步滚动

android - Instant App 在上传到生产环境时显示问题

javascript - 在 react native ListView 中添加动态本地镜像

ios - 用于使用 expo SDK react native ios 应用程序的 Info.plist 文件

javascript - "type"是什么意思,在 ECMA 6 中问号有特殊用途吗?

android - LinearLayout children - 所有 View 都应该有相同的高度并且至少包裹它们的内容

android - 直接将 "Free"Android App 作为 .apk 文件分发