I'm following tutorial on http://www.stanford.edu/class/ee368/Android/Tutorial-2-OpenCV-for-Android-Setup-Linux.pdf
But when it comes to:
sh ./project_create.sh
in the android-jni folder, I get this error :
Error: The project either has no target set or the target is invalid.
Please provide a --target to the 'android update' command.
The contents of the project_create.sh file are
#!/bin/sh
#this generates an ant based cli build of the android-jni project
android update project --name android-opencv \
--path .