I'm new to OpenCV on Android. Right now, I'm trying to configure it on my MacOSX.
I follow these instructions : http://www.stanford.edu/class/ee368/Android/Tutorial-2-OpenCV-for-Android-Setup-Macintosh.pdf
When I reach this step (Build JNI to the OpenCV library) using this command:
sh ./project_create.sh
The console show this error report.
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android update' command.
How to set up the target. Does it concern with local.env.mk file. If it does, this is what's inside it:
#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
ANDROID_NDK_ROOT=/Users/farissyariati/android-ndk-r4-crystax/
#define only armeabi-v7a to make the final apk smaller or armeabi
ARM_TARGETS="armeabi armeabi-v7a"
Thank you.