问题
Failed to send crash report due to a network error: SocketException: OS Error: Operation
timed out, errno = 60, address = clients2.google.com, port = 55217
出现这样的问题 从两点入手 1 镜像问题 2权限问题
1
1>进入当前用户的home目录
2>输入touch .bash_profile
3>open -e .bash_profile 打开

第一行是flutter sdk环境变量
第二三行是 配置镜像
2.如果你镜像配置了 那么就是权限的问题
修改Flutter 项目权限 跟 Flutter SDK目录权限
打开Terminal cd到Flutter项目目录

-R表示递归 777表示可写可执行 fullter——app01指定文件夹也可以是*表示任意文件
如果此时项目可以运行了 就不用修改Flutter SDK目录权限
否则 cd 到Flutter目录下

修改Flutter SDK目录权限
网友评论