Library Reference Issue using opencv in android

114 Views Asked by At

I am working on opencv face detection project in android. i have an issue regarding Library reference, i have manually set the reference from project properties--->android but it is not been set. kindly help There is not issue regarding ndk paths or other path settings screen shot are shown below this is creen shot where i am setting lib ref but when i clear project, and again this red line with cross sign shows.

enter image description here

2

There are 2 best solutions below

0
On

Your library and the project has to be in same directory then it will work..

1
On

Check Android.mk and path to OpenCV Directory.

Please, put Android.mk there and oath to OpenCV lib. And you mast Add OpenCV library to project