Unable to update Dart SDK. Retrying…

C:\Users\linewell.sk>flutter doctor
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine 3757390fa4b00d2d261bfdf5182d2e87c9113ff9...
Downloading the Dart SDK using the BITS service failed, retrying with WebRequest...
Invoke-WebRequest : 无效的 URI: 未能分析主机名。
所在位置 C:\Users\linewell.sk\flutter\bin\internal\update_dart_sdk.ps1:62 字符: 5
+     Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], UriFormatException
    + FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Error: Unable to update Dart SDK. Retrying...
等待 0 秒,按 CTRL+C 退出 ...

Unable to update Dart SDK. Retrying...
解决方案:
出现以上问题时,请查看自己的各个信息环境变相配置是否齐全,用户环境变量和系统环境变量都要检查一下。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-19
  • 2021-07-22
  • 2022-02-12
  • 2021-12-17
  • 2021-06-04
  • 2022-12-23
猜你喜欢
  • 2021-11-11
  • 2022-12-23
  • 2021-12-27
  • 2022-12-23
  • 2021-12-02
  • 2021-09-07
相关资源
相似解决方案