0

I am facing these errors and I do not know how to fix them I installed Flutter properly, then I installed android studio and it gives me those errors at android studio, including after I installed plugings, and neither visual studio sees it although it was installedenter image description here

Please give me some ideas what I could do.

2 Answers2

0

cmdtoolline error

Android license unknown error

For the third error, you have to install vs code or you can skip it if you are using android studio.

0

Open Android Studio -> SDK Manager -> SDK Tools -> install Android SDK Command-line Tools (latest).

then in Terminal execute flutter doctor --android-licenses

Ali AlYousef
  • 111
  • 6
  • **flutter doctor --android-licenses** then press **y** to accept all the license. – Shabbir Rajput Jun 16 '23 at 12:46
  • Thank you, went to fix the error with android studio, but at visual studio although I have it installed gives me error that it is not installed. – Neculai Luca Jun 16 '23 at 12:57
  • Vs code could be no included in 'Path' variable so you need to check PATH Environment Variable and include VS code to it and try flutter doctor again – Ali AlYousef Jun 16 '23 at 13:01
  • It was automatically included in my path, when I checked the era, and I also installed the Flutter and dart libraries in vs Code and it gives me the same error. – Neculai Luca Jun 17 '23 at 08:18