According to the official website, after the environment was configured, the Flutter Doctor could not be downloaded without any reaction. I tried to use the domestic image but still no reaction.

Use a text editor to open the /bin/internal/update_dart_sdk.sh file. You can see that 1 is the Dart Sdk download path and 2 is the Sdk download path

Among themENGINE_VERSIONThere is in/bin/internal/engine.versionIn the file,DART_ZIP_NAMEAccording to my system, I’m going to bedart-sdk-windows-x64.zip

The environment variableFLUTTER_STORAGE_BASE_URLUsing a mirror image of Tsinghua University.

Download by pathdart-sdk-windows-x64.zipDecompress the package to/bin/cache/Inside, run flutter Doctor again without going to download again.

Domestic mirror

Shanghai Jiao Tong University

FLUTTER_STORAGE_BASE_URL: https://mirrors.sjtug.sjtu.edu.cn/
PUB_HOSTED_URL: https://dart-pub.mirrors.sjtug.sjtu.edu.cn/
Copy the code

Flutter community

FLUTTER_STORAGE_BASE_URL: https://storage.flutter-io.cn
PUB_HOSTED_URL: https://pub.flutter-io.cn
Copy the code

Tsinghua University TUNA Association

FLUTTER_STORAGE_BASE_URL: https://mirrors.tuna.tsinghua.edu.cn/flutter
PUB_HOSTED_URL: https://mirrors.tuna.tsinghua.edu.cn/dart-pub
Copy the code

Shanghai Jiao Tong University

FLUTTER_STORAGE_BASE_URL: https://mirrors.sjtug.sjtu.edu.cn/ 
PUB_HOSTED_URL: https://dart-pub.mirrors.sjtug.sjtu.edu.cn/
Copy the code