java.lang.UnsatisfiedLinkError: Couldn't load opencv_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/com.example.myeffects-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.example.myeffects-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null

Stack Overflow | BQ. | 7 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    java.lang.UnsatisfiedLinkError: Couldn't load opencv_java from loader dalvik.system.PathClassLoader

    Stack Overflow | 7 months ago | BQ.
    java.lang.UnsatisfiedLinkError: Couldn't load opencv_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/com.example.myeffects-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.example.myeffects-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null
  2. 0
    samebug tip
    Caused by fail to load the necessary libraries. Try to reinstall the app.
  3. 0
    samebug tip
    Check if you have the latest version of SQLCipher and look if you loaded the libraries correctly. More info on this comment: https://goo.gl/tQQ5NO
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using proguard, check if you correctly configured it, otherwise, just disable proguard. More on this here: https://goo.gl/FP500o
  6. 0

    java.lang.ClassNotFoundException: com.googlecode.javacv.cpp.opencv_objdetect

    Stack Overflow | 10 months ago | Sagor Ahmed
    java.lang.NoClassDefFoundError: java.lang.ClassNotFoundException: com.googlecode.javacv.cpp.opencv_objdetect

  1. iferca 1 times, last 2 months ago
  2. filpgame 1 times, last 2 months ago
  3. Adrien 6 times, last 3 months ago
  4. PKeidel 9 times, last 3 months ago
  5. rafael 3 times, last 2 months ago
32 more registered users
63 unregistered visitors
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

    Couldn't load opencv_java from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/mnt/asec/com.example.myeffects-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/com.example.myeffects-1/lib, /vendor/lib, /system/lib]]]: findLibrary returned null

    at java.lang.Runtime.loadLibrary()
  2. Java RT
    System.loadLibrary
    1. java.lang.Runtime.loadLibrary(Runtime.java:365)
    2. java.lang.System.loadLibrary(System.java:606)
    2 frames
  3. com.example.myeffects
    CartoonifierApp.onCreate
    1. com.example.myeffects.CartoonifierView.<clinit>(CartoonifierView.java:262)
    2. com.example.myeffects.CartoonifierApp.onCreate(CartoonifierApp.java:68)
    2 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5264)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2305)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2393)
    5. android.app.ActivityThread.access$800(ActivityThread.java:151)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
    7. android.os.Handler.dispatchMessage(Handler.java:110)
    8. android.os.Looper.loop(Looper.java:193)
    9. android.app.ActivityThread.main(ActivityThread.java:5295)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:828)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:644)
    2 frames
  7. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame