/etc/profile.d/sdk.sh
export NDKROOT=/lab/sdk/android-ndk-r10e export ANDROID_HOME=/lab/sdk/android-sdk-linux export PATH=${PATH}:${NDKROOT}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools/ export ANDROID_CMAKE_TOOLCHAIN=/lab/sdk/android-cmake/android.toolchain.cmake
* github
git clone git://github.com/rmtheis/tess-two tess cd tess cd tess-two ndk-build android update project --path . ant release
/lab/sdk/OpenCV-android-sdk
cd /lab/sdk git clone https://github.com/taka-no-me/android-cmake.git # update path in sdk.sh above