Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+ 0000 【MacOS】【Windows】配置Flutter环境、创建Flutter初始项目 #22

Open
toly1994328 opened this issue May 15, 2020 · 2 comments
Labels
point The point of Flutter

Comments

@toly1994328
Copy link
Owner

toly1994328 commented May 15, 2020

一、Mac配置Flutter环境

1.下载 Flutter SDK: https://flutter.dev/docs/development/tools/sdk/releases

根据需求下载FlutterSDK版本,一般使用稳定版的最新版本。


2.解压后添加环境变量: vim ~/.bash_profile

解压

export PATH= flutterSDK磁盘路径/bin:$PATH
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

3. 通过命令行查看环境是否ok : flutter --version

屏幕快照 2019-10-29 下午7 20 02

@toly1994328 toly1994328 added good first issue Good for newcomers question Further information is requested and removed good first issue Good for newcomers labels May 15, 2020
@toly1994328 toly1994328 changed the title + 0000 MacOS、Windows 如何配置Flutter环境 以及 创建Flutter初始项目 + 0000 【MacOS】【Windows】配置Flutter环境、创建Flutter初始项目 May 15, 2020
@toly1994328
Copy link
Owner Author

二、Windows配置Flutter环境

1.下载 Flutter SDK: https://flutter.dev/docs/development/tools/sdk/releases 并解压

image


2.添加环境变量

image

image


3. 通过命令行查看环境是否ok --> flutter --version

@toly1994328
Copy link
Owner Author

三、AndroidStudio创建Flutter初始项目

image

image

image

image

@toly1994328 toly1994328 added point The point of Flutter and removed question Further information is requested labels May 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
point The point of Flutter
Projects
None yet
Development

No branches or pull requests

1 participant