- Use a Linux OS. It is assumed that
Arch Linuxis used. - Install the latest version of
Android Studio. - Use
SDK MangerofAndroid Studioto install yourSDK 25,NDK 21.4.7075529, andBuildTools 25.0.3of your choice. - Install the packages that we are going to need on your linux:
sudo pacman -S cmake git aria2 ant unzip ant - Make sure you have a suitable
python2,python3, andjdk
If you need the cv1 interface of OpenCV, you should use version < 4. Versions>=4 only have the cv2 interface.
We are going to use OpenCV 3.4.16 .