java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/<MY_APP_ID>-2/lib/arm/libgame.so: has text relocations

Stack Overflow | Mr.Song | 2 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    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.
  2. 0

    Android 6.0 Preview 3 device (with target sdk 23) , System.loadLibrary is fail

    Stack Overflow | 2 years ago | Mr.Song
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/<MY_APP_ID>-2/lib/arm/libgame.so: has text relocations
  3. 0

    libtinyWRAP.so fails to load when using multi user mode on Android M

    GitHub | 2 years ago | MassimoMessore
    java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/data/org.doubango.imsdroid/lib/libtinyWRAP.so" not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    GitHub comment 21#154183079

    GitHub | 1 year ago | jp-bennett
    java.lang.RuntimeException: An error occurred while executing doInBackground()

  1. franky li 8 times, last 6 months ago
  2. Lukasmcd14 1 times, last 9 months ago
  3. Christopher 4 times, last 11 months ago
  4. xgao 1 times, last 1 year ago
43 unregistered visitors
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/app/<MY_APP_ID>-2/lib/arm/libgame.so: has text relocations

    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