You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Flutter调试Chrome浏览器失败问题求助及已尝试方案

Flutter Web端启动Chrome失败的问题

已连接设备

Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.22000.2295]
Chrome (web)      • chrome  • web-javascript • Google Chrome 116.0.5845.180

启动报错信息

Launching lib\main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...             96.7s
Failed to launch browser after 3 tries. Command used to launch it: C:\Program Files\Google\Chrome\Application\chrome.exe
--user-data-dir=C:\Users\IRADUK~1\AppData\Local\Temp\flutter_tools.50c80c25\flutter_tools_chrome_device.42e3d2fe --remote-debugging-port=49713    
--disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check
--disable-default-apps --disable-translate http://localhost:49615
Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge. Otherwise, consider using -d web-server instead and filing an
issue at https://github.com/flutter/flutter/issues.

已尝试的解决措施

  • 确认Chrome为最新版本
  • 临时禁用防火墙/杀毒软件后重启Chrome
  • 重启电脑后重新启动Chrome
  • 以管理员身份运行Chrome
  • 尝试用-d web-server参数启动,执行run -d chrome时得到提示:
    The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge devices for an improved
    development workflow.
    
  • 使用-v参数获取Flutter详细输出

现寻求有效解决该问题的方法。

内容的提问来源于stack exchange,提问作者Iradukunda Didier

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.11 06:04:52