Steps to Reproduce
flutter doctor
in PowerShellLogs
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.
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.
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.
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
User contributions licensed under CC BY-SA 3.0