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 tips

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.


9 months ago
Expert tip

Solutions on the web

Solution icon of github
via GitHub by qwill
, 8 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
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 github
via GitHub by qrohlf
, 6 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.hiddenramblings.tagmo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.hiddenramblings.tagmo-2/lib/arm, /system/lib, /vendor/lib]]] couldn't find "libamiitool.so"

Solution icon of github
via GitHub by qrohlf
, 2 months ago
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.hiddenramblings.tagmo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.hiddenramblings.tagmo-2/lib/arm, /system/lib, /vendor/lib]]] couldn't find "libamiitool.so"

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

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.cocos2dx.MyFirstGame-1/base.apk"],nativeLibraryDirectories=[/data/app/org.cocos2dx.MyFirstGame-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libMyGame.so"

Solution icon of stackoverflow
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.facebook.buck.demo-1/base.apk"],nativeLibraryDirectories=[/data/app/com.facebook.buck.demo-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libjni.so"

Solution icon of github
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.mapbox.mapboxandroiddemo-2/base.apk"],nativeLibraryDirectories=[/data/app/com.mapbox.mapboxandroiddemo-2/lib/arm64, /system/lib64, /vendor/lib64]]] couldn't find "libmapbox-gl.so"

Solution icon of github
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/de.qabel.qabel-2/base.apk"],nativeLibraryDirectories=[/data/app/de.qabel.qabel-2/lib/arm64, /system/fake-libs64, /data/app/de.qabel.qabel-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libsqlitejdbc.so"

Solution icon of github
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/pl.lynx.daydream.test-2/base.apk"],nativeLibraryDirectories=[/data/app/pl.lynx.daydream.test-2/lib/arm64, /system/fake-libs64, /data/app/pl.lynx.daydream.test-2/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]] couldn't find "libgvrf.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

6 times, 4 days ago
Once, 3 weeks ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
263 more bugmates