How to install NDK with Android SDK Manager

Dims picture Dims · Jan 4, 2017 · Viewed 15.3k times · Source

It is said, that it is possible to install NDK with Android SDK manager with the following picture:

enter image description here

Unfortunately, I don't have SDK Plantforms, SDK Tools and SDK Update Sites tabs in my SDK Manager. My picture is following:

enter image description here

So how to install NDK in my situation?

Answer

Ted Lyngmo picture Ted Lyngmo · Sep 7, 2017

Since you are using the standalone Android SDK Manager, you'll need to use the sdkmanager command line tool.

  1. Close Android SDK Manager
  2. Start a Command Prompt as Administrator
  3. cd"path to your installation of Android SDK Manager"\tools\bin
  4. sdkmanager ndk-bundle
  5. Accept the License Agreement
  6. Wait a long time. The installation is done without any progress indicator.
  7. When it finally reports done, start Android SDK Manager
  8. Look under Extras and there you'll find Ndk Bundle