java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.example.matar.myapplication-2/lib/arm/libavcodec.so: has text relocations

GitHub | matart15 | 5 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    GitHub comment 303#254149762

    GitHub | 5 months ago | matart15
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.example.matar.myapplication-2/lib/arm/libavcodec.so: has text relocations
  2. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  3. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o
  6. 0

    Crash on Android M

    GitHub | 1 year ago | lduparc
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.xxxxx.yyyyy.ppd.ppd-1/lib/arm/libiconv.so: has text relocations
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/com.example.matar.myapplication-2/lib/arm/libavcodec.so: has text relocations

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:372)
    2. java.lang.System.loadLibrary(System.java:1076)
    2 frames
  3. com.getkeepsafe.relinker
    ReLinkerInstance.loadLibrary
    1. com.getkeepsafe.relinker.SystemLibraryLoader.loadLibrary(SystemLibraryLoader.java:24)
    2. com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:163)
    3. com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:136)
    4. com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:92)
    4 frames
  4. com.example.matar
    MainActivity.onCreate
    1. com.example.matar.myapplication.MainActivity.onCreate(MainActivity.java:23)
    1 frame
  5. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6251)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    4 frames