Cannot find opencv2 in Android Studio
问题 I am trying to write a C++ file in Android Studio and I would like to use OpenCV in my project. However, when I try to use the following includes, I get an error saying Cannot Find 'opencv2' . #include <opencv2/core.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/features2d.hpp> To set up OpenCV in Android, you have to take the following steps, found here, to use the Java part of OpenCV in Android Studio. To the best of my knowledge to use the C++ part of OpenCV in Android Studio, you