java.lang.UnsatisfiedLinkError

dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.qwill.opencvtests-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.qwill.opencvtests-2/lib/x86, /data/app/com.example.qwill.opencvtests-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libopencv_java3.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 web3909

Solution icon of github
via GitHub by qwill
, 6 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.qwill.opencvtests-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.qwill.opencvtests-2/lib/x86, /data/app/com.example.qwill.opencvtests-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libopencv_java3.so"

Solution icon of stackoverflow
via Stack Overflow by Nandhu
, 1 year ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.scanner mobile-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.scanner.mobile-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libiconv.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.nativeaudio-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.nativeaudio-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libnative-audio-jni.so"

Solution icon of github
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.vorbisdemo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.vorbisdemo-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libogg.so"

Solution icon of github
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.hellojni-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.hellojni-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libhello-jni.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/v1.com.example.ggpcoding.myapplication-2/base.apk"],nativeLibraryDirectories=[/data/app/v1.com.example.ggpcoding.myapplication-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libzbarjni.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.saikhuan.mfp.mfpapp-2/base.apk"],nativeLibraryDirectories=[/data/app/com.saikhuan.mfp.mfpapp-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libstlport_shared.so"

Solution icon of github
via GitHub by kevinho
, 9 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/xxx-2/base.apk"],nativeLibraryDirectories=[/data/app/xxx-2/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libirdna_sdk.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.admin.application-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.admin.application-2/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libiconv.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.tagcash-2/base.apk"],nativeLibraryDirectories=[/data/app/com.tagcash-2/lib/x86, /data/app/com.tagcash-2/base.apk!/lib/x86, /vendor/lib, /system/lib]]] couldn't find "libiconv.so"

Stack trace

  • java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.qwill.opencvtests-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.qwill.opencvtests-2/lib/x86, /data/app/com.example.qwill.opencvtests-2/base.apk!/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libopencv_java3.so" at java.lang.Runtime.loadLibrary0(Runtime.java:972) at java.lang.System.loadLibrary(System.java:1530) at org.opencv.android.StaticHelper.loadLibrary(StaticHelper.java:64) at org.opencv.android.StaticHelper.initOpenCVLibs(StaticHelper.java:95) at org.opencv.android.StaticHelper.initOpenCV(StaticHelper.java:39) at org.opencv.android.OpenCVLoader.initDebug(OpenCVLoader.java:77) at com.example.qwill.opencvtests.MainActivity.onResume(MainActivity.java:120) at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269) at android.app.Activity.performResume(Activity.java:6766) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3377) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3440) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2713)

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

Samebug visitor profile picture
Unknown user
Once, 1 week ago
4 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
2 times, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 3 months ago
259 more bugmates