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"

GitHub | qwill | 2 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 8191#279420964

    GitHub | 2 months ago | qwill
    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"
  2. 0

    Opencv initialization in Android studio

    Stack Overflow | 2 years ago | user3136886
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.pak.myapplication-2/base.apk"],nativeLibraryDirectories=[/data/app/com.example.pak.myapplication-2/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libopencv_java.so"
  3. 0

    GitHub comment 8135#277666186

    GitHub | 3 months ago | daniel-barkan
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.tutorial3-1/base.apk"],nativeLibraryDirectories=[/data/app/org.opencv.samples.tutorial3-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libopencv_java3.so"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 72#197298206

    GitHub | 1 year ago | zshn25
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.tutorial3-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libopencv_java3.so"
  6. 0

    Android OpenCV 2.4.9 static initialization not working like the example APK

    Stack Overflow | 3 years ago | user1534409
    java.lang.UnsatisfiedLinkError: Couldn't load opencv_java from loader dalvik.system.PathClassLoader[dexPath=/data/app/org.opencv.samples.facedetect- 2.apk,libraryPath=/data/app-lib/org.opencv.samples.facedetect-2]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:365)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary0(Runtime.java:972)
    2. java.lang.System.loadLibrary(System.java:1530)
    2 frames
  3. org.opencv.android
    OpenCVLoader.initDebug
    1. org.opencv.android.StaticHelper.loadLibrary(StaticHelper.java:64)
    2. org.opencv.android.StaticHelper.initOpenCVLibs(StaticHelper.java:95)
    3. org.opencv.android.StaticHelper.initOpenCV(StaticHelper.java:39)
    4. org.opencv.android.OpenCVLoader.initDebug(OpenCVLoader.java:77)
    4 frames
  4. com.example.qwill
    MainActivity.onResume
    1. com.example.qwill.opencvtests.MainActivity.onResume(MainActivity.java:120)
    1 frame
  5. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1269)
    2. android.app.Activity.performResume(Activity.java:6766)
    3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:3377)
    4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3440)
    5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2713)
    5 frames