安装步骤:https://flutterchina.club/setup-macos/
bash:flutter:commond not found
安装flutter,执行flutter doctor之后一直在等待,我就关闭了终端,重新打开终端,发现bash:flutter:commond not found 这个问题。
重新执行下:export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=`pwd`/flutter/bin:$PATH
就ok了!
网友评论