I getting a error in flutter doctor cmd tools in ubuntu 21.04


I getting the following error in flutter doctor cmd tools, when I run the command flutter doctor in the terminal in ubuntu 21.04.

enter image description here

cmd Error

I tried to solve in ubuntu but my try is waste next what can I do
Help Me guys.


The solution to this is to open Android Studio and go to SDK Manager, switch to the SDK Tools tab.
enter image description here
Check Android SDK Command-line Tools(latest)
enter image description here
Don’t forget to add to your PATH the tools and platform-tools folder that is inside your SDK.

Run flutter doctor to verify. You can also restart the Android studio.

This should solve your problem will be solved.

Answered By – JustAG33K

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published