问题
VS Code 编译报错 Error connecting to the service protocol: failed to connect to http://127.0.0.1:54516/ubMoe3p4Mp4=/
解决
- 在 ~/.zshrc 中增加
export NO_PROXY=localhost,127.0.0.1,::1 - 执行 flutter doctor 并查看
[✓] Proxy Configuration,如果这项没有问题重新编译项目
问题
VS Code 编译报错 Error connecting to the service protocol: failed to connect to http://127.0.0.1:54516/ubMoe3p4Mp4=/
解决
export NO_PROXY=localhost,127.0.0.1,::1
[✓] Proxy Configuration,如果这项没有问题重新编译项目