“ChromeProxyService:无法评估表达式”错误
当我想通过 flutter 使用 chrome 设备启动我的项目时,出现此错误。
由于这些错误,chrome 模拟器停留在白屏上(不工作)。 我该如何解决这个问题?
I get this error when I want to start my project with chrome device via flutter.
And vs code redirects to this line ;
Because of these errors chrome emulator stays on white screen (not working).
How do I fix this problem?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更新到 Chrome v100 后,Chrome 中的调试存在一些问题,这些问题已在 Flutter v2.10.5 中修复,可以解决这些问题:
https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#2105-april-18-2022
There were some issues with debugging in Chrome after updating to Chrome v100 which have been fixed in Flutter v2.10.5 that may solve these issues:
https://github.com/flutter/flutter/wiki/Hotfixes-to-the-Stable-Channel#2105-april-18-2022
我遇到了类似的问题,这是由旧的依赖项引起的,并通过清除酒吧缓存来解决它。
在工作目录中运行
flutter pub cache clean
,然后重新运行flutter pub get
。I had the similar issue, which is caused by an old dependency, and resolved it by clearing the pub cache.
Run
flutter pub cache clean
in the working directory, then rerunflutter pub get
.