java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.test-2/lib/x86/libMailCore.so: has text relocations

GitHub | CotunaAurelian | 8 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

    lib/x86/libMailCore.so: has text relocations crash

    GitHub | 8 months ago | CotunaAurelian
    java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.test-2/lib/x86/libMailCore.so: has text relocations
  2. 0

    Building binaries and running AndroidExample

    GitHub | 2 years ago | Theenity
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.libmailcore.androidexample-1/base.apk"],nativeLibraryDirectories=[/data/app/com.libmailcore.androidexample-1/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libMailCore.so"
  3. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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
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.test-2/lib/x86/libMailCore.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.libmailcore
    NativeObject.<clinit>
    1. com.libmailcore.MainThreadUtils.<init>(MainThreadUtils.java:19)
    2. com.libmailcore.MainThreadUtils.<clinit>(MainThreadUtils.java:9)
    3. com.libmailcore.MainThreadUtils.singleton(MainThreadUtils.java:0)
    4. com.libmailcore.NativeObject.<clinit>(NativeObject.java:42)
    4 frames
  4. com.test.business
    IMAPSyncManager.<init>
    1. com.test.business.web.IMAPSyncManager.<init>(IMAPSyncManager.java:39)
    1 frame
  5. com.test.web
    IMAPSyncManager.getInstance
    1. com.test.web.IMAPSyncManager.getInstance(IMAPSyncManager.java:32)
    1 frame
  6. com.test.ui
    MainActivity.onCreate
    1. com.test.ui.MainActivity.onCreate(MainActivity.java:21)
    1 frame
  7. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6237)
    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