Flutter开发环境搭建

安装 Flutter

  1. git clone https://github.com/flutter/flutter.git
  2. 在系统变量path新增 E:\flutter\bin
  3. 新增PUB_HOSTED_URL系统变量https://pub.flutter-io.cn
  4. 新增 FLUTTER_STORAGE_BASE_URL系统变量https://storage.flutter-io.cn
  5. cd flutter
  6. flutter doctor

请输入图片描述

Flutter开发必备其他环境

  1. Java Jdk https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
  2. Android Studio https://developer.android.com/studio/
  3. Git https://git-scm.com/download/win

添加Flutter插件

  1. 打开Android Stuido, 然后找到Plugin的配置,搜索FlutterDart插件并安装。

相关链接

icon_mrgreen.gificon_neutral.gificon_twisted.gificon_arrow.gificon_eek.gificon_smile.gificon_confused.gificon_cool.gificon_evil.gificon_biggrin.gificon_idea.gificon_redface.gificon_razz.gificon_rolleyes.gificon_wink.gificon_cry.gificon_surprised.gificon_lol.gificon_mad.gificon_sad.gificon_exclaim.gificon_question.gif