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
![](https://www.bestdevops.com/wp-content/uploads/2023/06/45354-1024x473.jpg)
Solution
env
![](https://www.bestdevops.com/wp-content/uploads/2023/06/image-36.png)
path
![](https://www.bestdevops.com/wp-content/uploads/2023/06/image-37.png)
flutter sdk
![](https://www.bestdevops.com/wp-content/uploads/2023/06/image-38.png)
platforms
![](https://www.bestdevops.com/wp-content/uploads/2023/06/image-39.png)
plugins
![](https://www.bestdevops.com/wp-content/uploads/2023/06/image-40.png)
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: