Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Cannot load info library for OpenCV

Am getting an error when am running OpenCV4Android

OpenCV error: Cannot load info library for OpenCV

I have tried all the answers by searching in Forums but still am unable to get rid off this error.

Please help me out

Cannot load info library for OpenCV

Am getting an error when am running OpenCV4Android

OpenCV error: Cannot load info library for OpenCV

I have tried all the answers by searching in Forums but still am unable to get rid off this error.

Heres's my log file. Am executing the 15puzzle sample

04-28 11:32:43.316: D/Sample::Puzzle15::Activity(2444): Creating and setting view

04-28 11:32:43.344: D/OpenCV/StaticHelper(2444): Trying to get library list

04-28 11:32:43.344: E/OpenCV/StaticHelper(2444): OpenCV error: Cannot load info library for OpenCV

04-28 11:32:43.344: D/OpenCV/StaticHelper(2444): Library list: ""

04-28 11:32:43.345: D/OpenCV/StaticHelper(2444): First attempt to load libs

04-28 11:32:43.345: D/OpenCV/StaticHelper(2444): Trying to init OpenCV libs

04-28 11:32:43.345: D/OpenCV/StaticHelper(2444): Trying to load library opencv_java3

04-28 11:32:43.345: D/OpenCV/StaticHelper(2444): Cannot load library "opencv_java3"

04-28 11:32:43.345: W/System.err(2444): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/org.opencv.samples.puzzle15-2/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]] couldn't find "libopencv_java3.so"

04-28 11:32:43.346: W/System.err(2444): at java.lang.Runtime.loadLibrary(Runtime.java:366)

04-28 11:32:43.346: W/System.err(2444): at java.lang.System.loadLibrary(System.java:988)

04-28 11:32:43.346: W/System.err(2444): at org.opencv.android.StaticHelper.loadLibrary(StaticHelper.java:64)

04-28 11:32:43.346: W/System.err(2444): at org.opencv.android.StaticHelper.initOpenCVLibs(StaticHelper.java:95)

04-28 11:32:43.346: W/System.err(2444): at org.opencv.android.StaticHelper.initOpenCV(StaticHelper.java:39)

04-28 11:32:43.346: W/System.err(2444): at org.opencv.android.OpenCVLoader.initDebug(OpenCVLoader.java:77)

04-28 11:32:43.346: W/System.err(2444): at org.opencv.samples.puzzle15.Puzzle15Activity.onResume (Puzzle15Activity.java:80)

04-28 11:32:43.346: W/System.err(2444): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1257)

04-28 11:32:43.346: W/System.err(2444): at android.app.Activity.performResume(Activity.java:6076)

04-28 11:32:43.346: W/System.err(2444): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975)

04-28 11:32:43.346: W/System.err(2444): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3017)

04-28 11:32:43.347: W/System.err(2444): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)

04-28 11:32:43.347: W/System.err(2444): at android.app.ActivityThread.access$800(ActivityThread.java:151)

04-28 11:32:43.347: W/System.err(2444): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)

04-28 11:32:43.347: W/System.err(2444): at android.os.Handler.dispatchMessage(Handler.java:102)

04-28 11:32:43.347: W/System.err(2444): at android.os.Looper.loop(Looper.java:135)

04-28 11:32:43.347: W/System.err(2444): at android.app.ActivityThread.main(ActivityThread.java:5254)

04-28 11:32:43.347: W/System.err(2444): at java.lang.reflect.Method.invoke(Native Method)

04-28 11:32:43.347: W/System.err(2444): at java.lang.reflect.Method.invoke(Method.java:372)

04-28 11:32:43.347: W/System.err(2444): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

04-28 11:32:43.347: W/System.err(2444): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

04-28 11:32:43.347: D/OpenCV/StaticHelper(2444): First attempt to load libs Fails

04-28 11:32:43.347: D/Sample::Puzzle15::Activity(2444): Internal OpenCV library not found. Using OpenCV Manager for initialization

04-28 11:32:43.978: D/CameraBridge(2444): call surfaceChanged Event

04-28 11:32:43.978: D/CameraBridge(2444): call checkCurrentState

04-28 11:32:44.184: D/(2444): HostConnection::get() New Host Connection established 0x7fc4cd381fc0, tid 2444

04-28 11:32:45.916: D/OpenCVManager/Helper(2444): Service connection created

04-28 11:32:45.937: D/OpenCVManager/Helper(2444): Trying to get library path

04-28 11:32:45.938: D/OpenCVManager/Helper(2444): Trying to get library list

04-28 11:32:45.939: D/OpenCVManager/Helper(2444): Library list: "libopencv_java3.so"

04-28 11:32:45.939: D/OpenCVManager/Helper(2444): First attempt to load libs

04-28 11:32:45.940: D/OpenCVManager/Helper(2444): Trying to init OpenCV libs

04-28 11:32:45.940: D/OpenCVManager/Helper(2444): Trying to load libs by dependency list

04-28 11:32:45.940: D/OpenCVManager/Helper(2444): Trying to load

library /data/app/org.opencv.engine-1/lib/x86_64/libopencv_java3.so

04-28 11:32:45.944: D/OpenCVManager/Helper(2444): OpenCV libs init was ok!

04-28 11:32:45.944: D/OpenCVManager/Helper(2444): First attempt to load libs is OK

04-28 11:32:46.072: I/OpenCVManager/Helper(2444): General configuration for OpenCV 3.1.0 =====================================

Please help me out