为什么我的 VS 代码终端无法识别“颤振”一词?

Alo*_*wat 2 flutter flutter-dependencies

我正在运行一个命令flutter devices来检查连接的设备,但它给出了以下错误:

flutter: The term 'flutter' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of 
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ flutter devices
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (flutter:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException 

flutter devices
Run Code Online (Sandbox Code Playgroud)

小智 5

在 VS 代码中完成 flutter 下载、路径变量设置和“flutter”启用活动后,您可能会忘记重新启动已经打开的 VS 代码。所以重启VS代码


归档时间:

查看次数:

5366 次

最近记录:

5 年,3 月 前