Flutter error Exception attempting to connect to the VM Service: SocketException

开发环境:windows11

平台:flutter

问题:在命令行powershell内执行flutter run 可以正常调起浏览器或者win版app且可以使用,未出现白屏,闪屏等情况,但是在Android studio 不论是web版还是win版出现闪屏,白屏,debug里面打印出 Exception attempting to connect to the VM Service: SocketException 提示无法与远程建立连接

解决方式:环境变量中设置

NO_PROXY
localhost,127.0.0.1

重启编辑器


版权声明:本文为paidencifang原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。