#location of android-opencv.mk file that was generated by the cmake build #of opencv for android OPENCV_CONFIG=../build/android-opencv.mk #the root directory of the crystax r4 ndk - ndk-build should be in this dir #you can download the ndk from http://www.crystax.net/android/ndk-r4.php ANDROID_NDK_ROOT=$(HOME)/android-ndk-r4-crystax #define only armeabi-v7a to make the final apk smaller or armeabi ARM_TARGETS="armeabi armeabi-v7a"