flutter doctor - Error: Downloading Dart SDK from Flutter engine

10

Steps to Reproduce

  1. Android SDK, Git already installed. Flutter git was cloned successfully.
  2. Running flutter doctor in PowerShell

Logs

C:\flutter>flutter doctor
Checking Dart SDK version...
Downloading Dart SDK from Flutter engine ead227f...
Start-BitsTransfer : flutter doctor - 69/5000 The resource loader cache doesn't have a loaded MUI entry . (HRESULT: 0x80073B01 Exception)
En C:\flutter\flutter\bin\internal\update_dart_sdk.ps1: 47 Character: 1

Start-BitsTransfer -Source $dartSdkUrl -Destination $dartSdkZip
  + CategoryInfo          : NotSpecified: (:) [Start-BitsTransfer], COMException
  + FullyQualifiedErrorId : System.Runtime.InteropServices.COMException,Microsoft.BackgroundIntelligentTransfer.Mana
 gement.NewBitsTransferCommand

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

Waiting 2 seconds, press CTRL+C to exit ...

I'm using NTLM auth behind corporate proxy.

git
dart
asked on Stack Overflow Mar 19, 2018 by Pedro Mora • edited May 29, 2018 by creativecreatorormaybenot

3 Answers

1

I experienced the same issue, what I did is uninstalling the flutter SDK by removing the directory where it installed and then installing it again, it worked as you can see below.

I think the last update caused this issue.

It worked

answered on Stack Overflow Mar 24, 2019 by Nayef
1

This is how you can fix it :

Open Control Panel – System – Advanced system settings and click on the button Environment Variables.


If environment variable ComSpec is set to anything other than %SystemRoot%\system32\cmd.exe expanding usually to C:\Windows\system32\cmd.exe, then reset it to Windows default %SystemRoot%\system32\cmd.exe.

answered on Stack Overflow Feb 28, 2021 by Dhia eddine abdelli • edited Feb 28, 2021 by Dhia eddine abdelli
0

This error occurs when you disable BITS [Background Task Infrastructure service]

type "Services" on Cortana then click on services > then go to >Background Task Infrastructure service> Enable and start it > Then reboot your laptop

It will help you to solve this error...

BITS related errors can be solved by just enabling Background Task Infrastructure service

answered on Stack Overflow Oct 24, 2019 by raman raman

User contributions licensed under CC BY-SA 3.0