Reputation: 207
I've followed this stack overflow answer to try and get OpenCV android working in Android Studio. I have followed the directions with the following caveats:
The project builds and autocompletes fine. However, I get the following error when the code that requires OpenCV is called:
java.lang.UnsatisfiedLinkError: Native method not found: org.opencv.core.Mat.n_Mat:()
I have no idea what I am doing wrong. Any help is appreciated.
Upvotes: 0
Views: 138
Reputation: 26
You have to explicitly load libs with LoadLibrary:
http://developer.android.com/reference/java/lang/System.html
Upvotes: 1