Home > Software engineering >  Unable to find suitable Visual Studio Toolchain - Flutter
Unable to find suitable Visual Studio Toolchain - Flutter

Time:10-04

I am using Visual Studio Code, and getting this: Exception: Unable to find suitable Visual Studio toolchain. Please run flutter doctor for more details.

Error

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:

  1. Go to this location: " C:\Users\yourUserName "

  2. Delete the folder ".gradle" completely from this directory.

  3. 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!

  • Related