java.lang.UnsatisfiedLinkError

dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.sample.helloandroidjni-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "liblibjnidispatch.so"

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.

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

Solutions on the web3731

  • dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.sample.helloandroidjni-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "liblibjnidispatch.so"
  • dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.sample.helloandroidjni-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.sample.helloandroidjni-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libnative.so"
  • dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.quickblox.hola_app-1/base.apk"], nativeLibraryDirectories=[/system/lib, /vendor/lib, system/vendor/lib, system/vendor/lib/egl, system/lib/hw]]] couldn't find "libjingle_peerconnection_so.so"
  • Stack trace

    • java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.google.sample.helloandroidjni-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "liblibjnidispatch.so" at java.lang.Runtime.loadLibrary(Runtime.java:366) at java.lang.System.loadLibrary(System.java:988) at com.example.glm.jni.Main.<clinit>(Main.java:13) at java.lang.reflect.Constructor.newInstance(Native Method) at java.lang.Class.newInstance(Class.java:1606) at android.app.Instrumentation.newActivity(Instrumentation.java:1066) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2280) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2442) at android.app.ActivityThread.access$800(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1351) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:211) at android.app.ActivityThread.main(ActivityThread.java:5389) 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:1020) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)

    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

    4 times, 1 month ago
    21 times, 9 months ago
    12 times, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    271 more bugmates