Setting up the NDK
chmod a+x android-ndk-r10e-linux-x86_64.bin
./android-ndk-r10e-linux-x86_64.bin
From Android Studio 1.3, the NDK was supposed to live inside the Android SDK folder and be managed by the SDK manager. This hasn't happened.
Set paths / environment variables: $NDK_ROOT etc. CMake likes /opt/android-ndk
Get the android.ndk path into Android Studio projects by default.
Making an android toolchain for cross-compilation:
../android-ndk-r10e/build/tools/make-standalone-toolchain.sh --ndk-dir="../android-ndk-r10e/" --install-dir="./android-9-toolchain" --platform="android-9" --toolchain="arm-linux-androideabi-4.9"
page revision: 4, last edited: 16 Nov 2015 03:36