当我在 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.
我该如何解决这个错误?
最佳答案
您需要将以下内容添加到您的 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/