Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When you use static OpenCV linking via

OPENCV_LIB_TYPE:=STATIC

You don't need libopencv_java.so: the OpenCV code is embedded into your jni library via "*.a" files from the OpenCV SDK (look into OpenCV-2.4.2-android-sdk/sdk/native/libs/armeabi-v7a/ content). This approach increases your APK size (in worst case you'll have to keep 3 copies of OpenCV code for armeabi, armeabi-v7a and x86).
We recommend use of OpenCV Manager instead to share the same OpenCV binaries across all app-s (slides, tutorial).