1、fatal: unable to access 'https://github.com/flutter/flutter.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
解决:
git config --global --unset http.proxy
git config --global --unset https.proxy
2、
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
在安装应用过程中,出现以上错误,网络不行超时
解决:
修改 host 配置,在终端中输入下列指令,打开编辑文件。
sudo vi /etc/hosts
有时候如果不做如上操作,偶尔重试会出现成功的概率