Go to Tools ▸ Android ▸ SDK Manager in Android Studio, Android SDK and go to SDK Tools tab, there click on NDK and install it.