如果根据flutter的官网教程,在运行flutter doctor时无法下载依赖,请根据以下步骤
1 export PUB_HOSTED_URL=https://pub.flutter-io.cn 2 export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn 3 git clone -b alpha https://github.com/flutter/flutter.git 4 export PATH="$PWD/flutter/bin:$PATH" 5 cd ./flutter 6 flutter doctor
PS:谷歌官方声明只是创建了临时镜像,想安装flutter的朋友还是尽快吧;