java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/x2/rdkt6_6s26gcw0mjm9w9v9n80000gn/T/android-tmp-robolectric6998859355455526295/app_lib/librealm-jni.dylib

GitHub | LTroya | 7 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

    GitHub comment 1440#233107413

    GitHub | 7 months ago | LTroya
    java.lang.UnsatisfiedLinkError: Can't load library: /var/folders/x2/rdkt6_6s26gcw0mjm9w9v9n80000gn/T/android-tmp-robolectric6998859355455526295/app_lib/librealm-jni.dylib
  2. 0

    Fatal Exception: java.lang.UnsatisfiedLinkError

    GitHub | 8 months ago | ArneKoeckeritz
    java.lang.UnsatisfiedLinkError: dlopen failed: library "/data/data/de.komoot.android/app_lib/librealm-jni.so" not found
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 3808#262081228

    GitHub | 3 months ago | nikiJava
    java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\Nikita\AppData\Local\Temp\android-tmp-robolectric8414149647152901922\app_lib\realm-jni.dll
  5. 0

    Error : java.lang.UnsatisfiedLinkError with roboelectric and realm

    Stack Overflow | 22 hours ago | Williams
    java.lang.UnsatisfiedLinkError: Can't load library: C:\Users\XS~1\AppData\Local\Temp\android-tmp-robolectric7796034244909642596\app_lib\realm-jni.dll.2.3.1
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

    Can't load library: /var/folders/x2/rdkt6_6s26gcw0mjm9w9v9n80000gn/T/android-tmp-robolectric6998859355455526295/app_lib/librealm-jni.dylib

    at java.lang.ClassLoader.loadLibrary()
  2. Java RT
    System.load
    1. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
    2. java.lang.Runtime.load0(Runtime.java:809)
    3. java.lang.System.load(System.java:1086)
    3 frames
  3. com.getkeepsafe.relinker
    ReLinker.loadLibrary
    1. com.getkeepsafe.relinker.SystemLibraryLoader.loadPath(SystemLibraryLoader.java:29)
    2. com.getkeepsafe.relinker.ReLinkerInstance.loadLibraryInternal(ReLinkerInstance.java:200)
    3. com.getkeepsafe.relinker.ReLinkerInstance.loadLibrary(ReLinkerInstance.java:140)
    4. com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:70)
    5. com.getkeepsafe.relinker.ReLinker.loadLibrary(ReLinker.java:51)
    5 frames
  4. io.realm.internal
    RealmCore.loadLibrary
    1. io.realm.internal.RealmCore.loadLibrary(RealmCore.java:89)
    1 frame
  5. io.realm
    RealmConfiguration$Builder.<init>
    1. io.realm.RealmConfiguration$Builder.<init>(RealmConfiguration.java:390)
    1 frame
  6. com.ltroya.movieindex
    MovieIndexApp.onCreate
    1. com.ltroya.movieindex.MovieIndexApp.initDB(MovieIndexApp.java:39)
    2. com.ltroya.movieindex.MovieIndexApp.onCreate(MovieIndexApp.java:35)
    2 frames
  7. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:165)
    2. org.robolectric.RobolectricTestRunner.setUpApplicationState(RobolectricTestRunner.java:423)
    3. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:254)
    4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:191)
    5. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:56)
    5 frames
  8. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  9. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:157)
    1 frame
  10. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  11. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  12. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  13. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames
  14. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame