Unknown operating system. Cannot install Dart SDK.

在Win10环境下运行flutter doctor出现了Unknown operating system. Cannot install Dart SDK.的异常。

解决方案:

1.将Flutter/bin/cache清空

2.进入到Flutter/bin目录下,运行flutter.bat doctor命令

重新下载Dart SDK.

你可能感兴趣的:(Unknown operating system. Cannot install Dart SDK.)