This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##SETUP YOUR NDK ENVIRONMENT | |
export ANDROID_NDK_ROOT=~/android/ndk | |
export MY_DEV_HOME=/home/n8fr8/android | |
export ANDROID_PLATFORM_VERSION=8 | |
export SYSROOT=$ANDROID_NDK_ROOT/platforms/android-$ANDROID_PLATFORM_VERSION/arch-arm | |
##NOW BUILD THE TOOLCHAIN FOR A SPECIFIC VERSION OF ANDROID | |
cd $ANDROID_NDK_ROOT/build/tools | |
./make-standalone-toolchain.sh --platform=android-$ANDROID_PLATFORM_VERSION --install-dir=$MY_DEV_HOME/my-android-toolchain --ndk-dir=$ANDROID_NDK_ROOT |