内容简介:Flutter SDK的获取首先,从由于,谷歌的原因,我们需要镜像地址更改一下(根据官网提示:The Flutter team cannot guarantee long-term availability of this service. ):
Futter开发环境搭建配置
Flutter SDK的获取
首先,从 GitHub官网 下载Flutter SDK。或者,先下载 git ,然后安装git,打开Git Bash,在窗口中输入
git clone -b master https://github.com/flutter/flutter.git
由于,谷歌的原因,我们需要镜像地址更改一下(根据官网提示:The Flutter team cannot guarantee long-term availability of this service. ):
export PUB_HOSTED_URL=https://pub.flutter-io.cn export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
或者,使用上海交通大学的 Linux User Group :
export PUB_HOSTED_URL= https://dart-pub.mirrors.sjtug.sjtu.edu.cn/ export FLUTTER_STORAGE_BASE_URL= https://mirrors.sjtug.sjtu.edu.cn/
然后接着输入:
export PATH="$PWD/flutter/bin:$PATH"
注意:$PWD为你安装Flutter的路径
安装完后,在环境变量中,静Flutter的安装地址配置到Path变量中。
最后,运行 flutter doctor
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- LAMP环境搭建与配置
- Docker 搭建与配置检查
- webpack入门(2) - 安装,配置,环境搭建
- 快速安装与配置kubernetes集群搭建
- NFS网络文件存储系统搭建配置详解
- RabbitMQ默认集群模式搭建配置实现步骤
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Purely Functional Data Structures
Chris Okasaki / Cambridge University Press / 1999-6-13 / USD 49.99
Most books on data structures assume an imperative language such as C or C++. However, data structures for these languages do not always translate well to functional languages such as Standard ML, Ha......一起来看看 《Purely Functional Data Structures》 这本书的介绍吧!