为什么颤振在Windows上停止被识别以及如何修复它?



在过去的4周里,我一直在Windows上学习颤振开发,直到突然我的Visual Studio通知我,它在我的PC上找不到颤振包。

我已经检查了控制台,令人惊讶的是命令"颤振"不再被识别,不仅在 cmd.exe 中,甚至在flutter_console.bat中。路径变量仍然很好,颤振的位置没有改变。

flutter_console.bat

任何想法会发生什么以及如何解决它?

*From the Start search bar, enter ‘env’ and select Edit environment variables for your account.
Under User variables check if there is an entry called Path:
If the entry exists, append the full path to flutterbin using ; as a separator from existing values.
If the entry doesn’t exist, create a new user variable named Path with the full path to flutterbin as its value.

请注意,您必须关闭并重新打开任何现有的控制台窗口才能使这些更改生效* 然后运行flutter doctorflutter upgrade

相关内容

  • 没有找到相关文章

最新更新