1 | initial version |
You try to use static initialization of OpenCV without Manager. In this case all OpenCV shared libraries must be packed to application package.
If your application has native part, then add
OPENCV_CAMERA_MODULES := on OPENCV_INSTALL_MODULES := on
before "include ../../sdk/native/jni/OpenCV.mk" string. After that OpenCV libraries will be automatically added to package at every build.
If you do not have jni code, then Eclipse does not clean libs folder and you can just copy libraries there. Alternatively you can create jni/Android.mk file and add following code there:
OPENCV_CAMERA_MODULES := on OPENCV_INSTALL_MODULES := on include ../../sdk/native/jni/OpenCV.mk