Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter doctor - Error: Downloading Dart SDK from Flutter engine

Tags:

git

dart

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.

like image 836
Pedro Mora Avatar asked Mar 19 '18 19:03

Pedro Mora


People also ask

How do I fix Dart SDK is not configured in Flutter?

To fix the Dart SDK is not Configured error, first of all, you must obtain the Flutter installation path and then figure out the dart SDK path. Then you can simply enable the Dart support for the project and let the Android Studio know about your Dart SDK path.

How do you get the Dart SDK in Flutter?

Create a New Project in Android StudioOpen Android Studio and click on Configure. Then, select Plugins. From the resulting screen, click on Flutter and click on Install. Click on Accept and then Yes to install the Dart plugin.

Does Flutter install Dart SDK?

If you're developing Flutter apps, then you don't need to separately download the Dart SDK; just install Flutter. To learn about other tools you can use for Dart development, see the Dart tools page. Version note: This site's documentation and examples use version 2.18.


1 Answers

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

like image 199
raman raman Avatar answered Sep 23 '22 13:09

raman raman