美文网首页
command not found: flutter

command not found: flutter

作者: 发小徒 | 来源:发表于2020-09-12 16:24 被阅读0次

终端命令中使用 vim .zshrc

//路径一定要对
export PATH=/Users/doer-zf/Documents/SDK/FlutterSDK/flutter/bin:$PATH
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

按esc 退出编辑模式 输入 :wq 保存退出

source .zshrc

亲测,解决

相关文章

网友评论

      本文标题:command not found: flutter

      本文链接:https://www.haomeiwen.com/subject/pyvwektx.html