windows10 环境
执行
flutter packages pub publish --server=https://pub.dartlang.org
提示It looks like accounts.google.com is having some trouble.
解决办法,不要使用powershell。
用cmd
set HTTP_PROXY=ip:port
set HTTPS_PROXY=ip:port
curl google.com 测试没问题后
flutter packages pub publish --server=https://pub.dartlang.org
网友评论