The Android NDK environment is essential for native-code language development. Here, we will outline the setup steps for the Mac OS X platform again.
To install the Android NDK, follow these steps:
mv android-ndk-r10e-darwin-x86_64.bin 3rd_party/android
cd 3rd_party/android && chmod +x android-ndk-r10e-darwin-x86_64.bin
./android-ndk-r10e-darwin-x86_64.bin
... Extracting android-ndk-r10e/build/tools Extracting android-ndk-r10e/build/gmsl Extracting android-ndk-r10e/build/core Extracting android-ndk-r10e/build/awk Extracting android-ndk-r10e/build Extracting android-ndk-r10e Everything is Ok
To install the Android NDK on Linux or Windows, download the corresponding installation files and follow the instructions on the Android developer website at https://developer.android.com/tools/sdk/ndk/index.html.