first try "hello world" by openCV.
export ANDROID_NDK=~/android-ndk-r9d
cd opencv/samples/android/hello-android
sh ./cmake_android.sh
cd ./build_armeabi
make
cd ..
after a successful compilation,
sh ./run.sh
It will adb pull HelloAndroid.png.
init 3.0.x for android opencv lib with static binding libs (.a), not .so for debugging.
export ANDROID_NDK=~/android-ndk-r9d
openCV/work/platforms/
sh ./scripts/cmake_android_arm.sh
cd build_android_arm
make -j8