NDK Installation & Configuration


1) Download the NDK bin file

Go here and download the bin file appropriate to your OS version.

2) Install NDK (UNIX installation steps)

Assuming your downloaded file ended up on your Dowloads directory:

 $ cd ~/Downloads
 $ chmod a+x android-ndk-r10d-linux-x86_64.bin
 $ ./android-ndk-r10c-darwin-x86_64.bin


3) Move your NDK folder to its appropriate location

 $ mv android-ndk-r10d ~/Android/ndk


4) Add NDK to your path

Either

 $ export PATH=$PATH:~/Android/ndk

Or add that same line in your ~/.profile file or other similar file


https://developer.android.com/tools/sdk/ndk/index.html#GetStarted