简体   繁体   English

运行 flutter 程序时出现问题

[英]Problem while running the flutter program

While running visual studio code for a flutter program, I am getting this error log in the terminal tab.在为 flutter 程序运行 Visual Studio 代码时,我在终端选项卡中收到此错误日志。

Please help me to resolve it.请帮我解决它。

Thanks谢谢

flutter run -d chrome
Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...             26.1s
Failed to establish connection with the application instance in Chrome.
This can happen if the websocket connection used by the web tooling is unable to correctly establish a connection, for example due to a firewall. 

Try running in release mode.尝试在发布模式下运行。

flutter run -d chrome --release

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM