【问题标题】:Error connecting to VM service for Flutter DevTools连接到 Flutter DevTools 的 VM 服务时出错
【发布时间】:2021-01-30 07:31:27
【问题描述】:

我得到的信息是:

Unable to connect to VM service at http://127.0.0.1:53932/pq_PklwHCMK=/:
getDartDevelopmentServiceVersio: (-32601)
Method not found,
getDartDevelopmentServiceVersio: (-32601)
Method not found

我尝试过的:

  • 重新启动计算机
  • 重启VScode
  • 重启模拟器
  • 擦除 AVD 数据
  • 冷启动 AVD
  • 尝试在浏览器中打开 devtools,同样的消息
  • 检查颤振医生是否有任何问题(无)

直到现在,这一直有效,我确实看到在 VScode 中,用于 VScode 的 Dar 和 Flutter 在 1 小时前更新到 3.19.0,所以我降级了,但我仍然遇到同样的问题。

【问题讨论】:

标签: flutter


【解决方案1】:

这个问题应该在开发工具版本0.9.7+2 之后得到修复,正如GitHub issue ticket 中提到的那样。如果您仍在使用旧版本并遇到此问题,我建议您更新到最新版本的 devtools。

【讨论】:

    猜你喜欢
    • 2023-03-25
    • 2019-09-29
    • 1970-01-01
    • 1970-01-01
    • 2014-03-25
    • 2017-07-28
    • 2013-11-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多