XA5104 Could not locate the Android NDK

Before start, make sure that you have already installed NDK from Visual Studio's Android SDK Manager window.


  1. Copy ndk-bundle folder from C:\Program Files (x86)\Android\android-sdk.
  2. Paste it under the C:\ProgramData\Microsoft\AndroidNDK64 path. (Create folder named AndroidNDK64 if no exists)
  3. Rename the ndk-bundle folder to android-ndk-r21.