flutter doctor env: bash\r: No such file or directory
来源:3-3 Flutter开发环境与iOS开发环境设置(Mac)
哥是个传说
2019-07-08
export ANDROID_HOME=/Users/pan/Library/Android/sdk
export PATH=PATH:{PATH}:PATH:{ANDROID_HOME}/emulator
export PATH=PATH:{PATH}:PATH:{ANDROID_HOME}/tools
export PATH=PATH:{PATH}:PATH:{ANDROID_HOME}/platform-tools
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=/Users/pan/Desktop/flutter/bin:$PATH
以上是我.bash_profile参照配置的环境,按照前两天给的网址http://linfuyan.com/env-bash-r-No-such-file-or-directory/,我设置了我的=unix,再运行依然是这个结果,我的file我查了下本身就是unix格式的
写回答
1回答
-
CrazyCodeBoy
2019-07-08
重新下载flutter SDK然后解压试一下或参考下https://github.com/flutter/flutter/issues/27076
00
相似问题