gpt4 book ai didi

android - 无法在 Android 模拟器 - Windows 上运行 React-Native 应用程序

转载 作者:行者123 更新时间:2023-12-04 14:19:21 28 4
gpt4 key购买 nike

我尝试在我的模拟器运行时运行 react-native run-android 但它抛出了这个错误:

Skipping device 'Nexus_5X_API_28(AVD) - 9' for 'app:debug': Could not find build of variant which supports density 420 and an ABI in x86

我试着用谷歌搜索,但大多数答案都太旧了,没有用。我尝试了 adb reverse 但仍然失败。

最佳答案

模块:从应用程序中检查 build.gradle。有以下配置:

 ndk {
abiFilters "armeabi-v7a", "x86"
}

这对你有用。我试过 React-native-android。

关于android - 无法在 Android 模拟器 - Windows 上运行 React-Native 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56673618/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com