java.lang.ClassNotFoundException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

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.


rafael

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • javacv 1.2 loadlibrary problem
    via by Tarun Singhal,
  • javacv 1.2 Build Problem
    via by Tarun Singhal,
  • JavaCV 0.9 integration to Android Studio
    via by Олег Осипенко,
  • GitHub comment 178#223379647
    via GitHub by iamyellow
    ,
  • GitHub comment 35#238523866
    via GitHub by mridulZaloni
    ,
    • java.lang.ClassNotFoundException: org.bytedeco.javacpp.opencv_core* at org.bytedeco.javacpp.Loader.load(Loader.java:477) at org.bytedeco.javacpp.Loader.load(Loader.java:417) at org.bytedeco.javacpp.helper.opencv_core$AbstractArray.<clinit>(opencv_core.java:109) at org.bytedeco.javacv.OpenCVFrameConverter.convertToIplImage(OpenCVFrameConverter.java:91) at org.bytedeco.javacv.OpenCVFrameConverter$ToIplImage.convert(OpenCVFrameConverter.java:44) at com.example.videooverlayes.ActivitySegmentCreaterNew.GetNoOfFrame(ActivitySegmentCreaterNew.java:1324) at com.example.videooverlayes.ActivitySegmentCreaterNew$GetFrame.run(ActivitySegmentCreaterNew.java:1298) at java.lang.Thread.run(Thread.java:841) Caused by: java.lang.ClassNotFoundException: *org.bytedeco.javacpp.opencv_core* at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:251) at org.bytedeco.javacpp.Loader.load(Loader.java:472) ... 7 more Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZNK2cv14DefaultDeleterI13CvFileStorageEclEPS1_" referenced by "libjniopencv_core.so"... at java.lang.Runtime.loadLibrary(Runtime.java:364) at java.lang.System.loadLibrary(System.java:526) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:702) at org.bytedeco.javacpp.Loader.load(Loader.java:500) at org.bytedeco.javacpp.Loader.load(Loader.java:417) at org.bytedeco.javacpp.opencv_core.<clinit>(opencv_core.java:10) ... 10 more Caused by: java.lang.UnsatisfiedLinkError: Couldn't load gnustl_static from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.appzcloud.videooverlayes-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.appzcloud.videooverlayes-1, /vendor/lib, /system/lib]]]: findLibrary returned null at java.lang.Runtime.loadLibrary(Runtime.java:358) at java.lang.System.loadLibrary(System.java:526) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:702) at org.bytedeco.javacpp.Loader.load(Loader.java:491) ... 12 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    adawolfs
    1 times, last one,
    271 more bugmates