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")

    }

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容