Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NDK Default location

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.

like image 474
noob Avatar asked Dec 17 '14 09:12

noob


People also ask

Where is my android NDK installed?

Android Studio installs all versions of the NDK in the android-sdk /ndk/ directory. Each version is located in a subdirectory with the version number as its name.

How do I find my NDK path?

Open your Android Studio Preference (or "File->Settings") > Appearance & Behavior > System Settings > Android SDK. You can find the path to your SDK and NDK, which is in the same directory.

Where is android NDK installed Windows 10?

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


2 Answers

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

like image 161
mp31415 Avatar answered Sep 27 '22 19:09

mp31415


The latest version extracts itself inside the current working directory. So if you launched it from the explorer, that's the same directory as your .exe.

You should find an android-ndk-rXXX folder there. Otherwise that means it wasn't extracted.

It's always better to use the latest NDK, there are many bug fixes and improvements with each releases... You can open the .exe as an archive with 7zip, and extract it somewhere else if you need, or launch the .exe from a terminal set where you want to have it extracted.

like image 28
ph0b Avatar answered Sep 27 '22 18:09

ph0b