include $(CLEAR_VARS)
#opencv
OPENCVROOT := C:\OpenCV-2.4.9-android-sdk
OPENCV_CAMERA_MODULES :=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=SHARED
include $(OPENCVROOT)/sdk/native/jni/OpenCV.mk
LOCAL_SRC_FILES := com_example_aamirhussain_ndkopencvtest1_OpencvNativeClass.cpp
LOCAL_LDLIBS += -llog
LOCAL_MODULE := MyOpencvLibs
include $(BUILD_SHARED_LIBRARY)
Android NDK: ERROR:src/main/jni/Android.mk:opencv_java: LOCAL_SRC_FILES points to a missing file
我检查.cpp文件路径也是正确的。但无法弄清楚实际问题在哪里。
答案 0 :(得分:2)