5

记录 flutter 开发环境配置

 2 years ago
source link: https://zhuanlan.zhihu.com/p/384808728
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

记录 flutter 开发环境配置

✅趴在床上娇喘,❎隔着网线叫唤

最近有一个很赞的想法,是有关于 flutter 的,但是很尴尬,我是个电脑盲者,每次这种大型的开发环境配置,我都特别绝望

所以这次记录一下,下次再配的时候再回来看

下载

官网下载,android studio 下载安装完感觉初始化好慢,不知道有没有加速的方法,求告知

环境变量

  1. java 环境变量
JAVA_HOME=D:\Program Files\Java\jdk1.8.0_291
%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin
  1. 安卓环境变量
ANDROID_HOME=D:\Users\changhaozhao\AppData\Local\Android\Sdk

%ANDROID_HOME%\platform-tools

%ANDROID_HOME%\tools

%ANDROID_HOME%\emulator

2. flutter 环境变量

D:\flutter\bin

3. flutter doctor

[!] Android Studio (not installed)

flutter config --android-studio-dir="D:\Program Files\Android\Android Studio"

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK