I am using Visual Studio Code, and getting this: Exception: Unable to find suitable Visual Studio toolchain. Please run flutter doctor
for more details.
Asked
Active
Viewed 1,891 times
0

Shahzain Ahmed
- 65
- 12
-
Does this answer your question? [Unable to find suitable Visual Studio toolchain. Please run \`flutter doctor\` for more details](https://stackoverflow.com/questions/60334570/unable-to-find-suitable-visual-studio-toolchain-please-run-flutter-doctor-for) – Nijat Namazzade Oct 04 '22 at 12:05
2 Answers
0
You most likely didn't install the exact version of the Windows 10 SDK, I think it can be a solution to this problem.

Nijat Namazzade
- 652
- 5
- 15
0
Solution I figured out myself:
Go to this location: " C:\Users\yourUserName "
Delete the folder ".gradle" completely from this directory.
Run the code again in VS Code by "flutter run" or "F5", then it will recreate the ".gradle" folder in the same directory and fix the issue.
Problem Solved, Enjoy!

Shahzain Ahmed
- 65
- 12