Skip to content

Flutter Web fails to launch Chrome or Edge on Windows 11 ("Failed to launch browser after 3 tries") #171436

@jsalmeida1101

Description

@jsalmeida1101

Steps to reproduce

  1. Install the latest stable version of Flutter and Dart SDK on Windows 11.
  2. Create a new Flutter project:
flutter create test_web_issue
  1. Navigate to the project directory:
cd test_web_issue
  1. Run the project targeting Chrome or Edge:
flutter run -d chrome

or

flutter run -d edge

Expected results

The default Flutter web app should open in the selected browser without issues.

Actual results

The browser fails to launch with the following error message:

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\jeferson\AppData\Local\Temp\flutter_tools.2f50ca63\flutter_tools_chrome_device.5c0f322f --remote-debugging-port=61190 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --disable-search-engine-choice-screen http://localhost:8083
Finished with error: 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.

Additional information

  • Issue occurred on multiple computers within the same company.

  • Already tried:

    • Updating and reinstalling Chrome, Edge, Flutter SDK, and Dart SDK.
    • Updating IDEs (Android Studio and VSCode).
    • Restoring Windows 11.
    • Flutter clean
    • I've reinstalled the Dart and Flutter plugins.
  • None of these actions resolved the issue.

  • Issue appeared suddenly, without significant environmental changes.

  • Edge version: 138.0.3351.55

  • Chrome version: 138.0.7204.97

  • It doesn't work in Android Studio, VSCode, or the terminal.

  • Using web-server works

Code sample

Code sample

Screenshots or Video

No response

Logs

Logs
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\jeferson\AppData\Local\Temp\flutter_tools.2f50ca63\flutter_tools_chrome_device.5c0f322f --remote-debugging-port=61190 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --disable-search-engine-choice-screen http://localhost:8083
Finished with error: 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.

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.32.5, on Microsoft Windows [versÆo 10.0.26100.4484], locale pt-BR)
[√] Windows Version (11 Enterprise 64-bit, 24H2, 2009)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.5)
[√] Android Studio (version 2025.1.1)
[√] VS Code, 64-bit edition (version 1.99.3)
[√] Connected device (3 available)
[√] Network resources

• No issues found!

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: buildBuilding flutter applications with the toolcustomer: crowdAffects or could affect many people, though not necessarily a specific customer.fyi-toolFor the attention of Flutter Tool teamplatform-webWeb applications specificallyplatform-windowsBuilding on or for Windows specificallyr: solvedIssue is closed as solvedteam-webOwned by Web platform teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions