java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxxxx-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] >couldn't find "libMyGame.so" at java.lang.Runtime.loadLibrary(Runtime.java:366)

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

,
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 Stack Overflow by Shruti Prajapati
, 1 year ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxxxx-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] >couldn't find "libMyGame.so" at java.lang.Runtime.loadLibrary(Runtime.java:366)
via Stack Overflow by Nitin Agarwal
, 2 years ago
Cannot load library: find_library[1199]: 37 'libopencv_highgui.so' failed to load previously</p> <pre><code> at java.lang.Runtime.loadLibrary(Runtime.java:370)
via Oracle Community by 8402, 1 year ago
no oljdbc35 in shared library path at java.lang.Runtime.loadLibrary(Compiled Code)
via ibm.com by Unknown author, 1 year ago
nio:- (/tmp/install.dir.31437/Linux/resource/jre/lib/i386/libnio.so: symbol NET_Bind, version SUNWprivate_1.1 not defined in file libnet.so with link time reference) . Stack Trace: java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1213) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.jav a:1177)
via ibm.com by Unknown author, 1 year ago
nio:- (/tmp/install.dir.31437/Linux/resource/jre/lib/i386/libnio.so: symbol NET_Bind, version SUNWprivate_1.1 not defined in file libnet.so with link time reference) . Stack Trace: java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1213) at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.jav a:1177)
via GitHub by philos3
, 1 year ago
dlopen failed: "/data/app/com.philos.videoproject-1/lib/arm64/libijkffmpeg.so" is 32-bit instead of 64-bit untime.loadLibrary(Runtime.java:383)
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.xxx.xxxxx-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] >couldn't find "libMyGame.so" at java.lang.Runtime.loadLibrary(Runtime.java:366)
at java.lang.System.loadLibrary(System.java:989)
at org.cocos2dx.lib.Cocos2dxActivity.onLoadNativeLibraries(Cocos2dxActivity.java:248)
at org.cocos2dx.lib.Cocos2dxActivity.onCreate(Cocos2dxActivity.java:264)
at android.app.Activity.performCreate(Activity.java:5966)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2408)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2519)
at android.app.ActivityThread.access$800(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1412)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:189)
at android.app.ActivityThread.main(ActivityThread.java:5532)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
98 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
263 more bugmates

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