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__)
1 min readJul 14, 2020
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