Installing missing Android NDK samples

Starting from Android NDK 11 the NDK samples are no longer included in the NDK.

In order to install them into the NDK please follow the instructions below:

  1. Download and install Git for Windows.
  2. Open command-line prompt in the Android NDK directory and run the following command:
  3. git clone https://github.com/googlesamples/android-ndk.git samples -b android-mk
  4. Ensure that the sample directories (e.g. hello-jni) contain the AndroidManifest.xml file. If not, double-check that you have cloned the android-mk branch of the samples.