simplezhli / flutter_deer

🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
https://simplezhli.github.io/flutter_deer/
Apache License 2.0
7.98k stars 1.66k forks source link

Failed to connect to the VM observatory service at: ws://127.0.0.1:64266/PbgpFj8Gfhg=/ws #235

Closed 284658474 closed 1 year ago

284658474 commented 1 year ago

运行环境

具体问题描述

3.10.0版本以上包含 3.13.0版本 都有这个问题,请问如何解决

问题截图

image image image

异常日志

Incompatible protocol version: client=3.26 vm=4.4 Failed to connect to the VM observatory service at: ws://127.0.0.1:64266/PbgpFj8Gfhg=/ws java.io.IOException: Incompatible protocol version: client=3.26 vm=4.4

simplezhli commented 1 year ago

不知道你的其他项目运行是否正常,感觉是环境问题。试试再切换渠道更新一下。

flutter channel stable
flutter upgrade --force
284658474 commented 1 year ago

最终解决版本,重新安装Android Studio

simplezhli commented 1 year ago

好的,解决了就好