java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

GitHub | MicronXD | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Shared object loading issue on Android x64

    GitHub | 8 months ago | MicronXD
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
  2. 0

    [Android]运行Demo程序,在64位下闪退

    GitHub | 5 months ago | lookerson
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.pushdemo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
  3. 0

    GitHub comment 998#278676697

    GitHub | 2 months ago | jkomyno
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/data/com.airbnb.android.react.maps.example/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Instantly crashes app when running on physical device; "libgnustl_shared.so" is 32-bit instead of 64-bit

    GitHub | 3 months ago | malithjkmt
    java.lang.UnsatisfiedLinkError: 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
  6. 0

    GitHub comment 1#154894915

    GitHub | 1 year ago | startsev
    java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app-lib/com.hdguru-1/libreactnativejni.so" has unexpected e_machine: 40
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    dlopen failed: "/data/data/com.demo/lib-main/libgnustl_shared.so" is 32-bit instead of 64-bit

    at java.lang.Runtime.load()
  2. Java RT
    System.load
    1. java.lang.Runtime.load(Runtime.java:332)
    2. java.lang.System.load(System.java:1069)
    2 frames
  3. com.facebook.soloader
    SoLoader.loadLibrary
    1. com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:71)
    2. com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    3. com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    4. com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    5. com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    6. com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    7. com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    8. com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    9. com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    10. com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    11. com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    12. com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    13. com.facebook.soloader.DirectorySoSource.loadLibraryFrom(DirectorySoSource.java:65)
    14. com.facebook.soloader.DirectorySoSource.loadLibrary(DirectorySoSource.java:42)
    15. com.facebook.soloader.SoLoader.loadLibraryBySoName(SoLoader.java:299)
    16. com.facebook.soloader.SoLoader.loadLibrary(SoLoader.java:247)
    16 frames
  4. com.facebook.react
    ReactActivity.onCreate
    1. com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:24)
    2. com.facebook.react.bridge.ReactBridge.<clinit>(ReactBridge.java:20)
    3. com.facebook.react.bridge.ReactBridge.staticInit(ReactBridge.java:24)
    4. com.facebook.react.bridge.NativeMap.<clinit>(NativeMap.java:22)
    5. com.facebook.react.JSCConfig$1.getConfigMap(JSCConfig.java:14)
    6. com.facebook.react.XReactInstanceManagerImpl.onJSBundleLoadedFromServer(XReactInstanceManagerImpl.java:704)
    7. com.facebook.react.XReactInstanceManagerImpl.recreateReactContextInBackgroundInner(XReactInstanceManagerImpl.java:384)
    8. com.facebook.react.XReactInstanceManagerImpl.createReactContextInBackground(XReactInstanceManagerImpl.java:355)
    9. com.facebook.react.ReactRootView.startReactApplication(ReactRootView.java:216)
    10. com.facebook.react.ReactActivity.onCreate(ReactActivity.java:107)
    10 frames
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6272)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
    5. android.app.ActivityThread.access$900(ActivityThread.java:157)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:148)
    9. android.app.ActivityThread.main(ActivityThread.java:5551)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
    2 frames