I am using Visual Studio Code, and getting this: Exception: Unable to find suitable Visual Studio toolchain. Please run flutter doctor
for more details.
CodePudding user response:
You most likely didn't install the exact version of the Windows 10 SDK, I think it can be a solution to this problem.
CodePudding user response:
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!