I am trying to integrate OpenCV into my Android project (using ndk). When I did: OPENCV_LIB_TYPE:=static I cannot build the project, I had this error:
E:\android-ndk-r8\ndk-build.cmd all Android NDK: Trying to define local module 'opencv_contrib' in jni/Android.mk. E:/android-ndk-r8/build/core/build-module.mk:34: *** Android NDK: Aborting. . Stop. Android NDK: But this module was already defined by jni/Android.mk.
Any idea how I can solve it? I am using android-ndk-r8 and OpenCV2.4.3
source share