androidandroid-studioandroid-sdk-toolsandroid-sdk-manager

Failed to install the following Android SDK packages as some licences have not been accepted.- 20.1.5948944 NDK (Side by side) 20.1.5948944


I have taken a pull from bitbucket and trying to run a project. While running the project it says the following lines:

ERROR: Failed to install the following Android SDK packages as some licences have not been accepted.
   ndk;20.1.5948944 NDK (Side by side) 20.1.5948944
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.

Android studio is also installed new in the machine.


Solution

  • When you install Android Studio 3.5.2, the android studio doesn't install NDK(Side By side) so, you need to do it manually. Tools -> SDK Manager -> System Settings -> Android SDK -> (Select) SDK Tool and enable NDK(Side by Side).