您的构建配置针对不受支持的应用程序二进制接口(ABI)

问题描述 投票:0回答:1

我无法在 Google Play 管理中心上传 .aab 文件。 Google Play 管理中心出现错误

Your build configuration targets an unsupported Application Binary Interface (ABI). These ABIs are not currently used by active devices. To continue using automatic integrity protection, update your build configuration so that it only targets these Android ABIs: x86, x86_64, armeabi-v7a, arm64-v8a. You can update your build configuration by following these steps.

我尝试点击给定的链接 https://developer.android.com/studio/projects/gradle-external-native-builds#specify-abi 仍然无法解决问题。我已经在我的应用程序

build.gradle
文件中指定了 ABI“armeabi-v7a”、“x86”、“x86_64”、“arm64-v8a”。我也尝试点击此链接https://support.google.com/googleplay/android-developer/thread/252706431/your-build-configuration-targets-an-unsupported-application-binary-interface-abi?hl= en但没有得到任何解决方案。我正在使用react-native版本
0.70.6
,有人可以帮我解决这个问题吗?

android react-native google-play-console
1个回答
0
投票

通过添加修复了这个问题

ndk {
    abiFilters "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}

到 app/build.gradle 的

defaultConfig
部分

© www.soinside.com 2019 - 2024. All rights reserved.