Closed nouhahammami closed 7 years ago
I guess you have not made the symlink named jniLibs in app/src/main that points to YOUR_OPENCV_SDK/sdk/native/libs as mentioned in the readme
i'm working with windows, and i made the symlink as mentioned in the readme
C:/OpenCV-android-sdk/sdk/native/libs
i'm using opencv 3 sdk, i changed also CMakeLists.txt file
include_directories(C:/OpenCV-android-sdk/sdk/native/jni/include)
what's the problem so ?
I have not much experience in Windows but I think the problem comes from the symlink. Try just coping /sdk/native/libs folder into app/src/main instead. And rename it to jniLibs.
Your CMakeList.txt looks correct to me
i'll try it, thanks for replying
after adding the .so files to jniLibs, and running the project i got this error in gradle
Error:(58, 34) error: unknown class name 'Feature2D'; did you mean 'ogl::Texture2D'?
i'm using the opencv3.0.0 sdk
@nouhahammami
change build.gradle
in openCVLibrary300
compileSdkVersion xx
, xx need >= 21
i got this gradle error after importing this project,
what doesn't mean ?