java.lang.UnsatisfiedLinkError

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

Samebug tips1

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.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2846

  • dlopen failed: /data/app/<MY_APP_ID>-2/lib/arm/libgame.so: has text relocations
  • via GitHub by matart15
    , 9 months ago
    dlopen failed: /data/app/com.example.matar.myapplication-2/lib/arm/libavcodec.so: has text relocations
  • via Appcelerator JIRA by Eduardo Gomez, 1 year ago
    dlopen failed: /data/app/com.app.id-2/lib/arm/libti.map.so: has text relocations
  • Stack trace

    • java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/<MY_APP_ID>-2/lib/arm/libgame.so: has text relocations at java.lang.Runtime.load(Runtime.java:332) at java.lang.System.load(System.java:1069)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 8 months ago
    Once, 3 weeks ago
    Unknown user
    Once, 7 months ago
    134 times, 9 months ago
    Unknown user
    Once, 9 months ago
    43 more bugmates