Android SDK Manager Install Specific Version of NDK Bundle

Przemek Lach picture Przemek Lach · Sep 25, 2018 · Viewed 21.6k times · Source

I'm trying to install NDK 15c and I can't seem to figure out how to tell sdkmanager the version. If I run

sdkmanager "ndk-bundle"

I will get the latest which I don't want.

I've tried different combinations but nothing works:

sdkmanager "ndk-bundle;15c"

sdkmanager "ndk-bundle;15.2.4203891"

sdkmanager "ndk-bundle;15.2"

Answer

Arsal Imam picture Arsal Imam · Sep 25, 2018

You can just download the android-NDK from their archives and integrate it with your android studio. You can download android-NDK 15 from the given URL:

https://developer.android.com/ndk/downloads/older_releases

To connect it with android studio, extract it into your drive and in android studio, go to File -> Project Structure -> SDK Location -> NDK Path (Put extracted path here)