flutter之`-bash: fultter: command not found`错误


git clone -b master https://github.com/flutter/flutter.git
 ./flutter/bin/flutter --version

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

  • 按照上述步骤操作时: 执行flutter doctor 会提示 -bash: fultter: command not found

执行 source ~/.bashrc即可

你可能感兴趣的:(flutter之`-bash: fultter: command not found`错误)