UnsatisfiedLinkError: No implementation found for long org.opencv.core.Mat.n_Mat() (tried Java_org_opencv_core_Mat_n_1Mat and Java_org_opencv_core_Mat_n_1Mat__)

Rick_HK
1 min readJul 14, 2020
Logcat message for UnsatisfiedLinkError: No implementation found for long

When we implementing OpenCV to Android Camera Project, the app crashes for no reason.

Turns out the solution is really silly

Just add the below line before starting the camera:

OpenCVLoader.initDebug()

Then this error will go away for good.

That’s it.

Happy coding.

Let me know if you find better solution or approach in the comment section below. ;)

Find me at Twitter @rick3817

--

--

Rick_HK

Hi this is Rick from Hong Kong. I am a native iOS and Android mobile developer and also a tech enthusiast. Find me on Twitter https://twitter.com/rick3817