Flutter doctor not accepting android license in console

I decided to develop a mobile application with flutter. When I type flutter doctor to the console, I have to accept the Android License. This is what came up when I typed flutter doctor flutter doctor --android-licenses. Could You Help?

Error:

enter image description here

Upvotes: 1

Views: 51

Answers (1)

aslaqrahman
aslaqrahman

Reputation: 9

I got this same problem when I installed flutter again

Open Android Studio and go to SDK Manager and click SDK Tools

And download tools shown in this picture

SDK Tools for Android Licenses

Restart your pc and run 'flutter run-v' in cmd or terminal

Upvotes: 1

Related Questions