java.lang.UnsatisfiedLinkError

Couldn't load realm-jni from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.x.x-1.apk,libraryPath=/data/app-lib/com.x.x-1]: findLibrary returned null

Samebug tips1

This happens sometimes when Android fails to load the necessary libraries when you install an app. Try reinstalling it or telling your client to reinstall it, as it seems to correctly install the libraries and fixes the problem.


rafaelrafael

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

Solutions on the web4214

  • via GitHub by hmedat2008
    ,
  • via GitHub by riyase
    ,
  • Stack trace

    • java.lang.UnsatisfiedLinkError: Couldn't load realm-jni from loader dalvik.system.PathClassLoader[dexPath=/data/app/com.x.x-1.apk,libraryPath=/data/app-lib/com.x.x-1]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:355) at java.lang.System.loadLibrary(System.java:525) at io.realm.internal.RealmCore.loadLibrary(RealmCore.java:117) at io.realm.internal.SharedGroup.<init>(SharedGroup.java:42) at io.realm.internal.SharedGroupManager.<init>(SharedGroupManager.java:43) at io.realm.BaseRealm.<init>(BaseRealm.java:76) at io.realm.Realm.<init>(Realm.java:126) at io.realm.Realm.createAndValidate(Realm.java:246) at io.realm.Realm.createInstance(Realm.java:231) at io.realm.RealmCache.createRealmOrGetFromCache(RealmCache.java:114) at io.realm.Realm.getInstance(Realm.java:197) at com.x.x.util.RealmWrapper.getChatRealm(RealmWrapper.java:67) at com.x.x.util.RealmWrapper.getUnreadMessages(RealmWrapper.java:685) at com.x.x.ui.home.HomeActivity.updateChatNotificationsCounter(HomeActivity.java:337) at com.x.x.ui.home.HomeActivity.onStart(HomeActivity.java:178) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1188) at android.app.Activity.performStart(Activity.java:5379) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2276) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358) at android.app.ActivityThread.access$700(ActivityThread.java:165) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1326) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5450) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1187) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003) at dalvik.system.NativeStart.main(NativeStart.java)

    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

    Stefan BrauneStefan Braune
    14 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown UserUnknown User
    4 times, last one
    Unknown visitor
    Unknown visitorOnce,
    ReichReich
    2 times, last one
    271 more bugmates