tutorial - android studio ndk-build

Android NDK Default location (8)

I am used to previous versions of NDK builds which came in zip format. I downloaded the recent r10 version for windows which had a .exe version. The exe version is just an extractor, that I didn't know and double clicked it. It didn't ask me for the location of extraction.

Now I want to remove this version and use a zip instead. How do I find on which location it was installed/extracted?

I tried looking to the ANDROID_NDK system variable and I found my previous definition of r8 version.

for Android Studio 2.3.x(+) :

My android-sdk folder was in C:\Program Files\Android\Android Studio\plugins\android-ndk

Be carefull: The ndk might not be complete, so make sure everything is up to date.

Android Studio 2.2 installs it in C:\Users\[username]\AppData\Local\Android\Sdk\ndk-bundle (on Windows 10).

I am using Visual Studio, but I also want to play with Android Studio. So, in order to get the Android SDK and NDK, I installed Android Studio.

The Answer

Android Studio installed the SDK naturally at


The NDK folder is not yet ready, but is/will exist at


In order to flush out the folder with the actual NDK, I had to tell Android Studio to install the NDK.

File -> Settings

Select Appearance and Behavior -> System Settings -> Android SDK

Click on the SDK Tools Tab

Checkbox the NDK (And, I think, the LLDB and CMake options).

Select Apply/Install.

Now that NDK folder should be good to go.

I used Chrome to download it from Windows 7. It extracted here to my standard Downloads folder:


In Windows 10, It landed in


Same happened with me.

C:\Program Files (x86)\Free Download Manager\android-ndk-r10e

Windows 10 and Internet Download Manager thew mine into C:\Users\[username]\AppData\Roaming\IDM

in MacOs Android Studio installs it in


change USERNAME with your username.