Reputation: 9
I recently downloaded Android Studio 4.1 to learn how to code in dart with flutter. the flutter doctor command generates errors, despite the fact that all android sdks are up to date.I have already installed the flutter and dart plugins on Android studio, but same problem. I need help please. problem's image
Upvotes: 0
Views: 270
Reputation: 34
I solved this problem by below step,
go to -> system environment -> Environment Variables -> system Variable
create New Variable Name ANDROID_HOME and Value D:\Androidsdk\tools (custom android sdk path).
concat this path D:\Androidsdk\platform-tools in Path variable value using ";". (also in system Variable)
that's all, Restart the PC to apply changes and try again -- flutter Doctor.
Upvotes: 1