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 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/13111137.html
未经授权禁止转载,违者必究!