按照Flutter 中文网 安装步骤安装的 Flutter有问题 报错了
Error: The Flutter directory is not a clone of the GitHub project.
The flutter tool requires Git in order to operate properly;
to set up Flutter, run the following command:
git clone -b beta https://github.com/flutter/flutter.git
1 删除手动下载的Flutter
2 系统环境变量添加
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
3 CMD 下载
- 注意 你确保已经正确安装了Git 工具
git clone -b beta https://github.com/flutter/flutter.git
4 还不行?
天行加速器 半小时试用 够用了 http://www.sky999.cc/pcInstall.html