React Native | Failed to install the app. Please accept all necessary SDK licenses using SDK Manager

Go to Configure>SDK Manager in your Android Studio.

Select SDK Tools tab and install Google Play Licensing Library


For linux Users::

  1. Navigate TO PATH :: cd ~/Library/Android/sdk/tools/bin/ OR PATH OF YOUR Android > sdk > tools > bin
  2. Then Run the sdkmanager as follows: ./sdkmanager --licenses

And accept the licenses you did not accept yet (but need to).

For more details see the Android Studio documentation


If u are using ubuntu please do this :--

1> Navigate to Android studio:- ~/Library/Android/sdk/tools/bin

2> Run this command:- sdkmanager --licenses