Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. ReactBridge.staticInit() has thrown an UnsatisfiedLinkError
    Unsorted
    1
    1
    0
  2. System.load() has thrown an UnsatisfiedLinkError
    Java Runtime
    20
    70
    4

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.UnsatisfiedLinkError: dlopen failed: could not load library "libjsc.so" needed by "libreactnativejni.so"; caused by cannot locate symbol "signal" referenced by "libjsc.so"...
    at java.lang.Runtime.load(Runtime.java:333)
    at java.lang.System.load(System.java:512)
    at com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:71)
    at com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
10 frames hidden

Solution

rafael1 year ago

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.

Check the source of this solution for more info

External results for this pattern (10)

  1. jkpatel1463via GitHub3 months ago
    dlopen failed: library "/data/user/0/com.estrongs.android.pop/files/lib/libacceleratecoreproxy.so" not found
    Show stack trace
  2. zeng1990javavia GitHub4 months ago
    dlopen failed: "/data/data/com.facebook.samples.litho/lib-main/libfb.so" is 64-bit instead of 32-bit
    Show stack trace
  3. Unknown authorvia grokbase.com4 months ago
    No message found for this stack trace.
    Show stack trace
  4. malithjkmtvia GitHub4 months ago
    dlopen failed: "/data/data/com.airbnb.android.react.maps.example/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit 01-12 09:18: libgnustl_shared.so" is 32-bit instead of 64-bit
    Show stack trace
  5. rxDroidvia Stack Overflow4 months ago
    Fatal Exception thrown on Scheduler.Worker thread.
    Show stack trace
  6. clmobileappsvia GitHub4 months ago
    dlopen failed: "/data/app-lib/com.caratlane.android-1/libreactnativejni.so" has unexpected e_machine: 40
    Show stack trace
  7. anishpCLvia GitHub4 months ago
    dlopen failed: "/data/app-lib/com.caratlane.android-1/libreactnativejni.so" has unexpected e_machine: 40
    Show stack trace
  8. allenzhangpvia GitHub4 months ago
    dlopen failed: library "libmodpng.so" not found
    Show stack trace
  9. viettanbkdnvia GitHub4 months ago
    dlopen failed: "/data/app/org.opencv.engine-1/lib/arm64/libopencv_java3.so" is 64-bit instead of 32-bit
    Show stack trace
  10. lookersonvia GitHub4 months ago
    dlopen failed: "/data/data/com.pushdemo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
    Show stack trace