Skip to content

Flutter doesn't support downloading Dart SDK over proxy on Windows #13557

@mengchengxxx

Description

@mengchengxxx

when i run flutter doctor:

PS E:\git_project\flutter\bin> flutter doctor
Checking Dart SDK version...
Downloading Dart SDK 1.25.0-dev.11.0...
Start-BitsTransfer : HTTP 状态 407: 需要代理身份验证。
所在位置 E:\git_project\flutter\bin\internal\update_dart_sdk.ps1:55 字符: 19

  • Start-BitsTransfer <<<< -Source $dartSdkUrl -Destination $dartSdkZip
    • CategoryInfo : InvalidOperation: (:) [Start-BitsTransfer], Exception
    • FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBits
      TransferCommand

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

How to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: first hourThe first hour of using Flutterc: new featureNothing broken; request for a new capabilityplatform-windowsBuilding on or for Windows specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions