Skip to content

couldn't find DSO to load: libhermes.so caused by #35895

Closed

Description

@Hmoulvad

Description

E/SoLoader: couldn't find DSO to load: libhermes.so caused by: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~fi0LO6D2MoTiy52TfVSjbA==/dk.ao.AO-KNgz-FvvkLLLxHpm6hQn1A==/lib/arm64/libfolly_runtime.so"... result: 0
D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: dk.ao.AO, PID: 13836
    java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libhermes.so caused by: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~fi0LO6D2MoTiy52TfVSjbA==/dk.ao.AO-KNgz-FvvkLLLxHpm6hQn1A==/lib/arm64/libfolly_runtime.so"... result: 0
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1127)
        at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:943)
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:855)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:802)
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:772)
        at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:26)
        at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20)
        at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:24)
        at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:369)
        at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:316)
        at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:94)
        at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:41)
        at dk.ao.AO.MainApplication.onCreate(MainApplication.java:60)
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1277)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6759)
        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2133)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loopOnce(Looper.java:201)
        at android.os.Looper.loop(Looper.java:288)
        at android.app.ActivityThread.main(ActivityThread.java:7872)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
     Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~fi0LO6D2MoTiy52TfVSjbA==/dk.ao.AO-KNgz-FvvkLLLxHpm6hQn1A==/lib/arm64/libfolly_runtime.so"...
        at java.lang.Runtime.load0(Runtime.java:929)
        at java.lang.System.load(System.java:1625)
        at com.facebook.soloader.SoLoader$1.load(SoLoader.java:558)
        at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:110)
        at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:63)
        at com.facebook.soloader.ApplicationSoSource.loadLibrary(ApplicationSoSource.java:91)
        at com.facebook.soloader.SoLoader.doLoadLibraryBySoName(SoLoader.java:1067)
        at com.facebook.soloader.SoLoader.loadLibraryBySoNameImpl(SoLoader.java:943) 
        at com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:855) 
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:802) 
        at com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:772) 
        at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:26) 
        at com.facebook.hermes.reactexecutor.HermesExecutor.<clinit>(HermesExecutor.java:20) 
        at com.facebook.hermes.reactexecutor.HermesExecutor.loadLibrary(HermesExecutor.java:24) 
        at com.facebook.react.ReactInstanceManagerBuilder.getDefaultJSExecutorFactory(ReactInstanceManagerBuilder.java:369) 
        at com.facebook.react.ReactInstanceManagerBuilder.build(ReactInstanceManagerBuilder.java:316) 
        at com.facebook.react.ReactNativeHost.createReactInstanceManager(ReactNativeHost.java:94) 
        at com.facebook.react.ReactNativeHost.getReactInstanceManager(ReactNativeHost.java:41) 
        at dk.ao.AO.MainApplication.onCreate(MainApplication.java:60) 
        at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1277) 
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6759) 
        at android.app.ActivityThread.-$$Nest$mhandleBindApplication(Unknown Source:0) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2133) 
        at android.os.Handler.dispatchMessage(Handler.java:106) 
        at android.os.Looper.loopOnce(Looper.java:201) 
        at android.os.Looper.loop(Looper.java:288) 
        at android.app.ActivityThread.main(ActivityThread.java:7872) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

Version

0.71.0

Output of npx react-native info

System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 70.36 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/lib/ruby/gems/2.7.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.3 AI-213.7172.25.2113.9123335
Xcode: 14.2/14C18 - /usr/bin/xcodebuild
Languages:
Java: 17.0.4 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.2.0 => 18.2.0
react-native: 0.71.0 => 0.71.0
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

When building towards Android no issues on IOS.

Snack, code example, screenshot, or link to a repository

When building towards Android no issues on IOS.

Activity

  1. added
    Tech: HermesHermes Engine: https://hermesengine.dev/
    and removed
    Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)
    on Jan 19, 2023
  2. cortinico commented on Jan 19, 2023

    @cortinico
    Contributor

    When building towards Android no issues on IOS.

    Can you share your android/app/build.gradle and android/build.gradle files?

  3. Hmoulvad commented on Jan 19, 2023

    @Hmoulvad
    Author

    Thanks! Here you go @cortinico

    android/app/build.gradle

    // Top-level build file where you can add configuration options common to all sub-projects/modules.
    buildscript {
        ext {
            buildToolsVersion = "33.0.0"
            minSdkVersion = 21
            compileSdkVersion = 33
            targetSdkVersion = 33
    
            // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
            ndkVersion = "23.1.7779620"
        }
        repositories {
            google()
            mavenCentral()
        }
        dependencies {
            classpath('com.android.tools.build:gradle:7.3.1')
            classpath("com.facebook.react:react-native-gradle-plugin")
        }
    }
    
    allprojects {
        repositories {
            // Scanbot SDK Maven repositories:
            maven { url 'https://nexus.scanbot.io/nexus/content/repositories/releases/' }
            maven { url 'https://nexus.scanbot.io/nexus/content/repositories/snapshots/' }
        }
    }
    

    android/app/build.gradle

    apply plugin: "com.android.application"
    apply plugin: "com.facebook.react"
    
    import com.android.build.OutputFile
    
    /**
     * This is the configuration block to customize your React Native Android app.
     * By default you don't need to apply any configuration, just uncomment the lines you need.
     */
    react {
        /* Folders */
        //   The root of your project, i.e. where "package.json" lives. Default is '..'
        // root = file("../")
        //   The folder where the react-native NPM package is. Default is ../node_modules/react-native
        // reactNativeDir = file("../node_modules/react-native")
        //   The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen
        // codegenDir = file("../node_modules/@react-native/codegen")
        //   The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
        // cliFile = file("../node_modules/react-native/cli.js")
    
        /* Variants */
        //   The list of variants to that are debuggable. For those we're going to
        //   skip the bundling of the JS bundle and the assets. By default is just 'debug'.
        //   If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
        // debuggableVariants = ["liteDebug", "prodDebug"]
    
        /* Bundling */
        //   A list containing the node command and its flags. Default is just 'node'.
        // nodeExecutableAndArgs = ["node"]
        //
        //   The command to run when bundling. By default is 'bundle'
        // bundleCommand = "ram-bundle"
        //
        //   The path to the CLI configuration file. Default is empty.
        // bundleConfig = file(../rn-cli.config.js)
        //
        //   The name of the generated asset file containing your JS bundle
        // bundleAssetName = "MyApplication.android.bundle"
        //
        //   The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
        // entryFile = file("../js/MyApplication.android.js")
        //
        //   A list of extra flags to pass to the 'bundle' commands.
        //   See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
        // extraPackagerArgs = []
    
        /* Hermes Commands */
        //   The hermes compiler command to run. By default it is 'hermesc'
        // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
        //
        //   The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
        // hermesFlags = ["-O", "-output-source-map"]
    }
    
     // Load local properties
    Properties localProperties = new Properties()
     if (project.rootProject.file('local.properties').exists()) {
        localProperties.load(project.rootProject.file('local.properties').newDataInputStream())
    }
    
    /**
     * Set this to true to create two separate APKs instead of one:
     * one for each native architecture. This is useful if you don't
     * use App Bundles (https://developer.android.com/guide/app-bundle/)
     * and want to have separate APKs to upload to the Play Store.
     */
    def enableSeparateBuildPerCPUArchitecture = false
    
    /**
     * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
     */
    def enableProguardInReleaseBuilds = false
    
    /**
     * The preferred build flavor of JavaScriptCore (JSC)
     *
     * For example, to use the international variant, you can use:
     * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
     *
     * The international variant includes ICU i18n library and necessary data
     * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
     * give correct results when using with locales other than en-US.  Note that
     * this variant is about 6MiB larger per architecture than default.
     */
    def jscFlavor = 'org.webkit:android-jsc-intl:+'
    
    /**
     * Private function to get the list of Native Architectures you want to build.
     * This reads the value from reactNativeArchitectures in your gradle.properties
     * file and works together with the --active-arch-only flag of react-native run-android.
     */
    def reactNativeArchitectures() {
        def value = project.getProperties().get("reactNativeArchitectures")
        return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
    }
    
    def googleMapsApiKey = localProperties.getProperty('MAPS_API_KEY') ? localProperties.getProperty('MAPS_API_KEY') : System.getenv("MAPS_API_KEY")
    
    def buildNumber = localProperties.getProperty('BUILD_ID') ? localProperties.getProperty('BUILD_ID') : System.getenv("APPCENTER_BUILD_ID")
    
    android {
        ndkVersion rootProject.ext.ndkVersion
    
        compileSdkVersion rootProject.ext.compileSdkVersion
    
        namespace = "dk.ao.AO"
        defaultConfig {
            applicationId "dk.ao.AO"
            minSdkVersion rootProject.ext.minSdkVersion
            targetSdkVersion rootProject.ext.targetSdkVersion
            versionCode buildNumber.toInteger()
            versionName "5.14.0"
            multiDexEnabled true
            manifestPlaceholders = [googleMapsApiKey:googleMapsApiKey]
        }
    
        splits {
            abi {
                reset()
                enable enableSeparateBuildPerCPUArchitecture
                universalApk false  // If true, also generate a universal APK
                include (*reactNativeArchitectures())
            }
        }
        signingConfigs {
            debug {
                storeFile file('debug.keystore')
                storePassword 'android'
                keyAlias 'androiddebugkey'
                keyPassword 'android'
            }
            release {
                if (localProperties.getProperty('APP_UPLOAD_STORE_FILE')) {
                    storeFile file(localProperties.getProperty('APP_UPLOAD_STORE_FILE'))
                    storePassword localProperties.getProperty('APP_UPLOAD_STORE_PASSWORD')
                    keyAlias localProperties.getProperty('APP_UPLOAD_KEY_ALIAS')
                    keyPassword localProperties.getProperty('APP_UPLOAD_KEY_PASSWORD')
                } else {
                    storeFile file(System.getenv("APPCENTER_KEYSTORE_FILE"))
                    storePassword System.getenv("APPCENTER_KEYSTORE_PASSWORD")
                    keyAlias System.getenv("APPCENTER_KEY_ALIAS")
                    keyPassword System.getenv("APPCENTER_KEY_PASSWORD")
                }
            }
        }
        buildTypes {
            debug {
                signingConfig signingConfigs.debug
            }
            release {
                // According to microsoft documentations here: https://docs.microsoft.com/en-us/appcenter/build/android/code-signing
                // In case you uploaded a keystore to the build configuration in the App Center portal, take into account that this approach will require to delete the signingConfig option from the buildTypes section of your build.gradle.
                // But if you want to make production release build locally, you need to uncomment line below first.
                // signingConfig signingConfigs.release
                minifyEnabled enableProguardInReleaseBuilds
                proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
            }
        }
    
        // applicationVariants are e.g. debug, release
        applicationVariants.all { variant ->
            variant.outputs.each { output ->
                // For each separate APK per architecture, set a unique version code as described here:
                // https://developer.android.com/studio/build/configure-apk-splits.html
                // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
                def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
                def abi = output.getFilter(OutputFile.ABI)
                if (abi != null) {  // null for the universal-debug, universal-release variants
                    output.versionCodeOverride =
                            defaultConfig.versionCode * 1000 + versionCodes.get(abi)
                }
    
            }
        }
    }
    
    dependencies {
        // The version of react-native is set by the React Native Gradle Plugin
        implementation("com.facebook.react:react-android")
    
        implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
    
        debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
        debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
            exclude group:'com.squareup.okhttp3', module:'okhttp'
        }
        debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
        
        if (hermesEnabled.toBoolean()) {
            implementation("com.facebook.react:hermes-android")
        } else {
            implementation jscFlavor
        }
    }
    
    apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
    
  4. cortinico commented on Jan 19, 2023

    @cortinico
    Contributor

    I'm unsure what's your problem as:

    The error in the stacktrace says

    E/SoLoader: couldn't find DSO to load: libhermes.so

    while the title of this issue is:

    couldn't find DSO to load: libjscexecutor.so

    Can you copy the content of your android/gradle.properties file?

  5. 131 remaining items

  6. angelica-snowit commented on Nov 5, 2024

    @angelica-snowit

    Same error logged on Crashlytics with RN 0.76.0

  7. doneitas commented on Nov 5, 2024

    @doneitas

    Same error logged on Crashlytics with RN 0.76.0

    Old arch?

  8. angelica-snowit commented on Nov 5, 2024

    @angelica-snowit

    Same error logged on Crashlytics with RN 0.76.0

    Old arch?

    Yes

  9. egmepara commented on Dec 10, 2024

    @egmepara

    I have the same crash for RN 0.71.16. Any solution ?

  10. purevsurena commented on Dec 17, 2024

    @purevsurena

    Same error occurred in React Native version 0.73.6, received via Firebase Crashlytics.

    Device Details:

    • Brand: Samsung
    • Model: Galaxy S20+ 5G
    • Available RAM: 6.51 GB
    • Available Storage: 14.78 GB
  11. RohovDmytro commented on Dec 17, 2024

    @RohovDmytro

    "react-native": "^0.76.5" + old arch + Pixel 6 Pro + Android 12

    Same crash.

  12. gulshercb7 commented on Dec 26, 2024

    @gulshercb7

    "react-native": "^0.76.5" + old arch + Nexus 5X + Android 13

    Same crash.

  13. DarshanSavaliyaGitHub commented on Jan 20, 2025

    @DarshanSavaliyaGitHub

    I'm using "react-native":"0.73.1"
    facing below crash in production build.

    MainActivity.onCreate java.lang.UnsatisfiedLinkError - dlopen failed: library "libhermes.so" not found

  14. gyhyfj commented on Jan 24, 2025

    @gyhyfj

    same problem on "一加5"

  15. wahidshadab commented on Feb 3, 2025

    @wahidshadab

    +1

  16. liyamahendra commented on Feb 11, 2025

    @liyamahendra

    Possible Fix for "libhermes.so not found" Error

    I encountered this error:

    Fatal Exception: java.lang.UnsatisfiedLinkError  
    dlopen failed: library "libhermes.so" not found  
    

    To resolve it, check:

    1. Open node_modules/jsc-android/README.md
    2. Find the section "How to use it with my React Native app"
    3. Follow the instructions to configure JSC properly

    Hope this helps! 🚀

  17. micant commented on Mar 5, 2025

    @micant

    This config fixed the issue for me.

    gradle.properies

    hermesEnabled=true
    ...
    

    app/build.gradle

    def jscFlavor = 'org.webkit:android-jsc:+'
    
    def hermesEnabled = project.hasProperty('hermesEnabled') && project.hermesEnabled.toBoolean()
    
    dependencies {
        // Core dependencies
        implementation fileTree(dir: "libs", include: ["*.jar"])
        implementation project(':react-native-config')
        implementation 'com.facebook.react:react-native:0.77.1'
        implementation 'androidx.core:core-ktx:1.12.0'
    
        if (hermesEnabled) {
            implementation("com.facebook.react:hermes-engine:+") { exclude group:'com.facebook.fbjni' }
        } else {
            implementation jscFlavor
        }
    }
    
    ...
    

    Hope this helps

    EDIT:
    Build is react-native 0.77.1

  18. JCELIS04 commented on Jul 11, 2025

    @JCELIS04

    This config fixed the issue for me.

    gradle.properies

    hermesEnabled=true
    ...
    

    app/build.gradle

    def jscFlavor = 'org.webkit:android-jsc:+'
    
    def hermesEnabled = project.hasProperty('hermesEnabled') && project.hermesEnabled.toBoolean()
    
    dependencies {
        // Core dependencies
        implementation fileTree(dir: "libs", include: ["*.jar"])
        implementation project(':react-native-config')
        implementation 'com.facebook.react:react-native:0.77.1'
        implementation 'androidx.core:core-ktx:1.12.0'
    
        if (hermesEnabled) {
            implementation("com.facebook.react:hermes-engine:+") { exclude group:'com.facebook.fbjni' }
        } else {
            implementation jscFlavor
        }
    }
    
    ...
    

    Hope this helps

    EDIT: Build is react-native 0.77.1

    This config fixed the issue for me.

    gradle.properies

    hermesEnabled=true
    ...
    

    app/build.gradle

    def jscFlavor = 'org.webkit:android-jsc:+'
    
    def hermesEnabled = project.hasProperty('hermesEnabled') && project.hermesEnabled.toBoolean()
    
    dependencies {
        // Core dependencies
        implementation fileTree(dir: "libs", include: ["*.jar"])
        implementation project(':react-native-config')
        implementation 'com.facebook.react:react-native:0.77.1'
        implementation 'androidx.core:core-ktx:1.12.0'
    
        if (hermesEnabled) {
            implementation("com.facebook.react:hermes-engine:+") { exclude group:'com.facebook.fbjni' }
        } else {
            implementation jscFlavor
        }
    }
    
    ...
    

    Hope this helps

    EDIT: Build is react-native 0.77.1

    Worked for me on react-native 0.73.0

  19. kiranthati521 commented on Aug 22, 2025

    @kiranthati521

    Unable to load neither the Hermes nor the JSC native library. Your application is not built correctly and will fail to execute
    2025-08-22 12:07:32.790 17751-18226 AndroidRuntime com.Nsl.KisanVikas.farmmanagement E FATAL EXCEPTION: AsyncTask #3
    Process: com.Nsl.KisanVikas.farmmanagement, PID: 17751
    java.lang.RuntimeException: An error occurred while executing doInBackground()
    at android.os.AsyncTask$4.done(AsyncTask.java:399)
    at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
    at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
    at java.util.concurrent.FutureTask.run(FutureTask.java:271)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
    at java.lang.Thread.run(Thread.java:919)
    Caused by: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.Nsl.KisanVikas.farmmanagement-Dzns1OX6jrUALfr0Jm6HpQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.Nsl.KisanVikas.farmmanagement-Dzns1OX6jrUALfr0Jm6HpQ==/lib/arm64, /data/app/com.Nsl.KisanVikas.farmmanagement-Dzns1OX6jrUALfr0Jm6HpQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libreact_devsupportjni.so"
    at java.lang.Runtime.loadLibrary0(Runtime.java:1067)

  20. itmsroohim commented on Sep 2, 2025

    @itmsroohim

    I finally could solve it by renaming my Mainapplication.java and Mainactivity.java to .kt
    changing
    SoLoader.init(this, OpenSourceMergedSoMapping) // Use this

    • SoLoader.init(this, false) // remove this one
      -I also added following in app/build.gradle
      // Soloader
      implementation 'com.facebook.soloader:soloader:0.12.1'

      // Hermes engine
      if(hermesEnabled.toBoolean()) {
      implementation("com.facebook.react:hermes-android")
      } else {
      implementation 'org.webkit:android-jsc:+'
      }
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: AttentionIssues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.Platform: AndroidAndroid applications.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions