#This installs the Android NDK (Native Development Kit) #which is needed for the compilation of C/C++ code into the #native architecture of the Android device. #The android-ndk-r7b-darwin-x86.tar.bz2 dummy.tar.bz2 file was downloaded #from the android developer website: #Cleanup the install rm -rf install rm -rf $ANROID_DEV_DIR/tmp # Install Android SDK and NDK. cp android-ndk-r7b-darwin-x86.tar.bz2 dummy.tar.bz2 bunzip2 dummy.tar.bz2 tar -xvf dummy.tar rm -rf dummy.tar dummy.tar.bz2 #Move to install mv android-ndk-r7b install #Create Standalone Development Directory $ANDROID_NDK_DIR/build/tools/make-standalone-toolchain.sh --platform=android-5 --install-dir=$ANDROID_DEV_DIR/tmp/android-linux-4.0