I am using Windows 10 and Visual Studio code for Flutter development. It was working fine till I upgraded the VS code to the latest version of Flutter. Now I am not able to do anything on VS code as the SDK selection for flutter always shows up and I am not able to select those
I tried to uninstall and install VS Code as well as its extensions multiple times but no help. Another observation is that when I click Cntrl + Shift + P, I am now able to see SDK option which was coming previously.
How can I select the Flutter SDK and avoid this issue
PS :- I am able to run in Android Studio so no issue with the system only for the VSCode Flutter Extension
3
Answers
I have found the solution to the problem. I just deleted the
C:Users<Username>AppDataRoamingCodeUser
folder. It seems likesome kind of caching has happened which was causing this issue. Post this it started working fine. Thank you for all the people who has respondedI think it’s better to do this manually. I have solved this problem before as in the link
You can create
.vscode
folder if you don’t have that kind of folder in your workspace.Then you can create
settings.json
file and overwrite those paths to your json file.