
ANDROID STUDIO DOWNLOAD NDK INSTALL
Simply add the ndkVersion in your module gradle script’s android block like so. Install Android NDK On the Welcome to Android screen, click Configure and select SDK Manager. But if you want to use a consistent NDK version on all machines you build the project with, according to this official guide, you can configure it from your module gradle script. – from Android Studio 3.6 Build #AI-192.7142.805, built on FebruOption 2:ĭoing option 1 will edit your local.properties file for you and will work in most cases. Typically this is installed somewhere in your user folder then \AppData\Local\Android\Sdk\ndk\%ndk version% at least for Windows. Once the Project Structure Dialog is open, go to SDK Location and select your locally installed version of NDK under Android NDK Location.

Uncompress the NDK download package using tools available on your computer. You can open the Project Structure Dialog by clicking File > Project Structure. or by pressing the hotkeys CTRL + ALT + SHIFT + S (on windows) The Android NDK is a companion tool to the Android SDK that lets you build. You can simply select your locally installed NDK in the Project Structure Dialog

Before proceeding make sure to have NDK installed.

The following solutions assume that the machine you are using currently has NDK installed and was previously able to build your project but started failing with the error “No version of NDK matched the requested version” after updating to Android Gradle plugin 3.6.0. Where and how is this older version specified? And how do Update it so it matches the latest version The following dependencies can be installed in Android Studio through Tools > SDK. It’s quite simple to “fix” this locally by installing the older expected ndk version: sdkmanager 'ndk 570' After updating to Android Gradle plugin several project independently started failing with: No version of NDK matched the requested version 570.
