Search code examples
androidandroid-ndkandroid-sdk-manager

Android SDK Manager Install Specific Version of NDK Bundle


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"

Solution

  • 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)