I used the source code downloaded from github to install opencv. My Cmake command is as follows: cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr/local \ -DOPENCV_ENABLE_NONFREE=1 \ ...
1.Create a local.properties file and define Android SDK path. sdk.dir=/home/rajamalw/android-sdk-linux Replace /home/rajamalw/android-sdk-linux with your SDK path. 2 ...