无法更新Dart SDK.重试 [英] Unable to update Dart SDK. Retrying
本文介绍了无法更新Dart SDK.重试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装Flutter但是当我运行cmd flutter医生时,发生了一个错误
I am trying to install flutter but when I run cmd flutter doctor an error occurred
正在检查Dart SDK版本...无法将"PowerShell.exe"识别为内部或外部命令,可操作的程序或批处理文件.错误:无法更新Dart SDK.正在重试...
Checking Dart SDK version... 'PowerShell.exe' is not recognized as an internal or external command, operable program or batch file. Error: Unable to update Dart SDK. Retrying...
等待1秒钟,按 CTRL + C 退出...终止批处理作业(是/否)?ÿ谢谢
Waiting for 1 seconds, press CTRL+C to quit ... Terminate batch job (Y/N)? y Thanks
推荐答案
将此路径添加到路径字段%SYSTEMROOT%\ System32 \ WindowsPowerShell \ v1.0 \
到您的环境变量中.
Add this path to path field %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\
into your environment variable.
这篇关于无法更新Dart SDK.重试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文