flutterwindowsflutter-doctor

How to install flutter sdk on windows?


I can’t get Flutter SDK working on Windows. I tried to install it, but its not working on the studio code app.

It’s giving me this error when I run flutter doctor:

[☠] Flutter (the doctor check crashed)  
    X Due to an error, the doctor check did not complete. If the error message below
      is not helpful, please let us know about this issue at
      https://github.com/flutter/flutter/issues.  
    X FileSystemException: Cannot resolve symbolic links, path = '*C:\Users\nnnnnnnnn\OneDrive\??? ??????\flutter\sorc\flutter\bin\flutter*' (OS       
      Error: The filename, directory name, or volume label syntax is incorrect. , errno = 123)

Solution

  • Did you follow all the steps correctly as indicated in the guide:

    https://docs.flutter.dev/get-started/install/windows/mobile

    Specifically check that Flutter is added to the PATH.

    And also that your path doesn't contain any characters that could cause problems (spaces, symbols, etc.) because your "OneDrive??? ??????" path looks strange.