You have not accepted the license agreements of the following SDK components

You have not accepted the license agreements of the following SDK components

You have not accepted the license agreements of the following SDK components

To solve this problem you just need to accept the terms and conditions of the SDK component. To accept the terms and conditions you can use a command line tool sdkmanager.

The sdkmanager is a command line tool that allows you to view, install, update, and uninstall packages for the Android SDK. If you’re using Android Studio, then you do not need to use this tool and you can instead manage your SDK packages from the IDE.

You can find the sdkmanager tool provided in the Android SDK Tools package (For Android version 25.2.3 or higher).

Solution:

We can solve this problem in 2 simple steps:

1. Go to SDK -> tool -> bin using the following command

2. Run the following command to ask for licenses acceptance

It will show you the terms and condition which you have to accept by simply entering y-> Yes or n-> No

That’s it. Now you can run your project again.

This is how you can solve the problem of “You have not accepted the license agreements of the following SDK components”. I hope you have also solved the problem. If you have any doubt or you want to share something about the topic you can comment below or contact us here. There will be more posts coming soon. Stay tuned!

Hope you liked it. 🙂

How useful was this post?

Click on a star to rate us!

Average rating / 5. Vote count:

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You have successfully subscribed to the newsletter

There was an error while trying to send your request. Please try again.

About React will use the information you provide on this form to be in touch with you and to provide updates and marketing.