Cannot load info library for OpenCV

asked 2016-04-28 03:12:34 -0500

WhoAmI gravatar image

updated 2016-04-28 06:41:07 -0500

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 ... (more)

edit retag flag offensive close merge delete

Comments

acn you give us the exact error msg ? (maybe surrounded by a bit of logcat context)

berak gravatar imageberak ( 2016-04-28 04:17:01 -0500 )edit

Thanks for the Suggestion. I have added up the log file. Could you kindly let me know what's going wrong.

WhoAmI gravatar imageWhoAmI ( 2016-04-28 06:42:17 -0500 )edit