Flutter配置

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
git clone -b dev https://github.com/flutter/flutter.git
export PATH="$PWD/flutter/bin:$PATH"
cd ./flutter
flutter doctor

安装指南(中国)

开发package

Flutter教程(基础部分翻译官方文档)

1.查看PATH

echo $PATH

2.创建Package包

flutter create --org com.xxx --template=plugin hello_package

猜你喜欢

转载自blog.csdn.net/Crazy_SunShine/article/details/80346311