gpt4 book ai didi

flutter - cmd 上的“flutter 医生”命令不起作用

转载 作者:行者123 更新时间:2023-12-04 10:16:03 25 4
gpt4 key购买 nike

我尝试运行的任何 flutter 命令都在显示

Checking Dart SDK version...
Downloading Dart SDK from Flutter engine af51afceb8886cc11e25047523c4e0c7e1f5d408...
Downloading the Dart SDK using the BITS service failed, retrying with WebRequest...
Invoke-WebRequest : The underlying connection was closed: An unexpected error occurred on a send.
At C:\src\flutter\flutter\bin\internal\update_dart_sdk.ps1:68 char:5
+ Invoke-WebRequest -Uri $dartSdkUrl -OutFile $dartSdkZip
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Error: Unable to update Dart SDK. Retrying...

Waiting for 1 seconds, press CTRL+C to quit ...
Terminate batch job (Y/N)?

我已经学习 flutter 3 个月了,效果很好。任何关于如何解决这个问题的建议

最佳答案

看起来是一个已知问题。你能检查一下链接吗?
https://github.com/flutter/flutter/issues/27276

关于flutter - cmd 上的“flutter 医生”命令不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61050813/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com