Reputation: 17
I have mistakenly installed flutter SDK on C:\ProgramFiles and whenever I go inside VS code it says Flutter SDK is installed in a protected folder and might not function. I cannot seem to uninstall the SDK nor move it to another file, it says the file is open somewhere else. I have deleted the Environment Variable of the flutter SDK and still can't do anything...
Upvotes: 0
Views: 965
Reputation: 1
Steps:
c:\Program Files
c:/Program files
c:\Program files
c:\
drive and open the bin
folder and copy the pathUpvotes: 0
Reputation: 716
Whenever added something to Windows system PATH restart your computer. Moreover close every kind of program that could use the SDK PATH. Just install the SDK once again in default (?) path?
VS Code and and for ex. Android Studio self detect the SDK PATH.
Upvotes: 2