flutter环境搭建(Windows、vscode)
my github flutter hello world
https://github.com/fuxingZhang/flutter
flutter summary
环境搭建
下载安装包
https://storage.googleapis.com/flutter_infra/releases/beta/windows/flutter_windows_v0.5.1-beta.zip
解压
C:\flutter
双击 flutter_console.bat
环境变量
1.用户环境变量新增2条
PUB_HOSTED_URL https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL https://storage.flutter-io.cn
2.系统环境变量path内新增1条
path 内新增
C:\flutter\bin
Run flutter doctor
flutter doctor
Install Android Studio
http://www.android-studio.org/
vscode 插件 安装
vscode 新建一个项目
按F5启动项目
终于看到了效果
点击一下 +1
相关资源
flutter website:
- english : https://flutter.io/
- chinese: https://flutterchina.club/
- github: https://github.com/flutter/flutter
dart website:
- english: https://www.dartlang.org/
- chinese: http://www.dartlang.cc/
- github: https://github.com/dart-lang/sdk
use flutter in China
https://github.com/flutter/flutter/wiki/Using-Flutter-in-China
2 回复
1
不错