bsm
bsm

Reputation: 207

Error using OpenCV Android libs in Android Studio

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

Answers (1)

Aravind Sundaresan
Aravind Sundaresan

Reputation: 26

You have to explicitly load libs with LoadLibrary:

http://developer.android.com/reference/java/lang/System.html

Upvotes: 1

Related Questions