No valid Android SDK platforms

When I write the flutter doctor command in cmd I get this error.

Error

No valid Android SDK platforms found in C:\Users\dharm\AppData\Local\Android\Sdk\platforms. Candidates were: – android-10 – android-16 – android-20 – android-22 – android-25 – android-29 – android-30 – android-31 – android-32 – android-33 – android-33-ext5 – android-8

Solution

env

path

flutter sdk

platforms

plugins

It appears as though this message shows up when you don’t have any build-tools packages installed. At the time of writing, to install the minimum required versions, you can fix this issue with:

Subscribe
Notify of
guest

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

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x