couldn't find DSO to load: libjscexecutor.so

react-native 在android运行的时候

androidStudio工作台的logcat报错: couldn't find DSO to load: libjscexecutor.so

已解决:参考-https://github.com/facebook/react-native/issues/25537

在app / build.gradle中添加以下代码

def useIntlJsc = false

在依赖中添加以下内容

if (useIntlJsc) {

    implementation 'org.webkit:android-jsc-intl:+'

} else {

    implementation 'org.webkit:android-jsc:+'

}

对我来说,修复过

maven {

      // Android JSC is installed from npm

      url("$rootDir/../node_modules/jsc-android/dist")

    }

你可能感兴趣的:(couldn't find DSO to load: libjscexecutor.so)