Flutter 学习网址 : https://book.flutterchina.club/

好处和具体介绍在上面, 这里我就介绍一下自己踩的坑. 环境是windows, 使用android studio .

 坑1: 

 export PUB_HOSTED_URL=https://pub.flutter-io.cn

export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
这里必须通过linux模拟的命令行执行, cmd不行, 直接在环境变量里设置也不行.

坑2: Initializing hot reload...卡死
需要配置build.gradle 或者FQ
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
}