xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

macOS 升级后导致 dart bug

macOS 升级后导致 dart bug

macOS 10.15.5

$ demo_app git:(master) flutter doctor
# /Users/xgqfrms-mbp/Documents/Flutter/flutter/bin/flutter: line 183: 22424 Killed: 9 "$DART" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"

zsh

https://www.cnblogs.com/xgqfrms/p/10542068.html

重新安装 flutter,并配置全局的环境变量


$ cat .zshrc
$ vim .zshrc

# flutter PATH & zsh
export PATH="$PATH:/Users/xgqfrms-mbp/Documents/Flutter/flutter/bin"

$ source $HOME/.zshrc


$ flutter doctor


$ flutter doctor --android-licenses

$ sudo gem install cocoapods

OK


brew upgrade

$ brew upgrade

https://github.com/dart-lang/homebrew-dart/issues/39

refs



©xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


posted @ 2020-06-12 23:24  xgqfrms  阅读(230)  评论(9编辑  收藏  举报