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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

This is a sub-class of the LinkageError class and indicates that the JVM cannot find an appropriate native-language definition of a method declared as native. Install the CDF Software Distribution on your system.

,
Expert tip

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.

Solutions on the web

via GitHub by hmedat2008
, 1 year ago
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
via GitHub by kfn
, 2 years ago
Couldn't load epub3 from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/org.readium.sdk.test-2.apk", zip file "/data/app/org.readium.sdk.test-2.apk
via Stack Overflow by X09
, 4 months ago
/app/com.mopo.audiofingerprinter-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.mopo.audiofingerprinter-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.mopo.audiofingerprinter-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.mopo.audiofingerprinter-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libACRCloudExtrTool.so"
via GitHub by andygup
, 1 year ago
dlopen failed: cannot locate symbol "OPENSSL_add_all_algorithms_noconf" referenced by "/data/app/com.rsupport.mvagent-1/lib/arm/libnet10neon.so"...
via Google Groups by João Neto, 6 months ago
Couldn't load luajava-1.1: findLibrary returned null
via Stack Overflow by Developer
, 2 years ago
Couldn't load native_sample: findLibrary returned null
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.(SharedGroup.java:42)
at io.realm.internal.SharedGroupManager.(SharedGroupManager.java:43)
at io.realm.BaseRealm.(BaseRealm.java:76)
at io.realm.Realm.(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)

Users with the same issue

Once, 1 month ago
159 times, 3 months ago
4 times, 7 months ago
8 times, 10 months ago
3 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.