我已经在 Android Studio ( https://www.learn2crack.com/2016/03/setup-opencv-sdk-android-studio.html ) 中设置了 OpenCV SDK,但似乎我收到了这种错误消息。
05-12 03:30:08.819 5480-5480/my.xxxxx I/art: Late-enabling -Xcheck:jni
05-12 03:30:08.925 5480-5480/my.xxxxx D/OpenCV/StaticHelper: Trying to get library list
05-12 03:30:08.926 5480-5480/my.xxxxx E/OpenCV/StaticHelper: OpenCV error: Cannot load info library for OpenCV
05-12 03:30:08.926 5480-5480/my.xxxxx D/OpenCV/StaticHelper: Library list: ""
05-12 03:30:08.926 5480-5480/my.xxxxx D/OpenCV/StaticHelper: First attempt to load libs
05-12 03:30:08.926 5480-5480/my.xxxxx D/OpenCV/StaticHelper: Trying to init OpenCV libs
05-12 03:30:08.926 5480-5480/my.xxxxx D/OpenCV/StaticHelper: Trying to load library opencv_java3
05-12 03:30:08.926 5480-5480/my.xxxxx D/OpenCV/StaticHelper: Cannot load library "opencv_java3"
我已经将 opencv_java3
包含到 JNI
文件夹中。
原文由 Nurdin 发布,翻译遵循 CC BY-SA 4.0 许可协议
如果有人仍在(2020 年 3 月)搜索此错误 -
并在此 StackOverflow 讨论中结束,这里是 OpenCV 贡献者在其网站上的有用说明。
请在此处查看此(当前打开的)问题 - https://github.com/opencv/opencv/issues/15567