Skip to content

Flutter 鸿蒙运行问题解决

约 121 字小于 1 分钟

鸿蒙Flutter

2025-08-11

在运行 Flutter 的时候,可能会遇到一个错误:

: http://127.0.0.1:64038/GNZ_Y00GgYg=/ Error connecting to the service protocol: failed to connect to http://127.0.0.1:64038/GNZ_Y00GgYg=/ HttpException: Connection closed before full header was received, uri = http://127.0.0.1:64038/GNZ_Y00GgYg=/ws

具体原因不知 🤷‍♀️。

这边就是建议,停止运行,然后关闭模拟器,再然后,清空模拟器的所有数据。

点击【Wipe User Data】,一定得清空数据。

公告

获取最新高质内容,请关注官方公众号