Content-Length: 293642 | pFad | http://github.com/flutter/flutter/issues/171961

0B [web] Flutter build unable to run debug-mode on chrome/edge · Issue #171961 · flutter/flutter · GitHub
Skip to content

[web] Flutter build unable to run debug-mode on chrome/edge #171961

@Hellf0rg0d

Description

@Hellf0rg0d

Steps to reproduce

the source code - https://github.com/Hellf0rg0d/flutter-web-issue

Actual results

the chrome opens with 4 tabs of same url localhost: but the flutter exits with an error.

here's the video showing it

flutter-bug.mp4

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\hellf0rg0d\AppData\Local\Temp\flutter_tools.6c4eb122\flutter_tools_chrome_device.306324e2 --remote-debugging-port=51066 --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:51051
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.

Exited (1).

Flutter Doctor output

Doctor output
[✓] Flutter (Channel stable, 3.32.6, on Microsoft Windows [Version 10.0.26100.4652], locale en-IN) [432ms]
    • Flutter version 3.32.6 on channel stable at D:\Flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 077b4a4ce1 (2 days ago), 2025-07-08 13:31:08 -0700
    • Engine revision 72f2b18bb0
    • Dart version 3.8.1
    • DevTools version 2.45.1

[✓] Windows Version (11 Home Single Language 64-bit, 24H2, 2009) [3.2s]

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [383ms]
    • Android SDK at C:\Users\hellf0rg0d\AppData\Local\Android\sdk
    ✗ cmdline-tools component is missing.
      Try installing or updating Android Studio.
      Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure
      to set the ANDROID_HOME environment variable.
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/to/windows-android-setup for more details.

[✓] Chrome - develop for the web [238ms]
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.3) [237ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35303.130
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2024.3) [168ms]
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.5+-13047016-b750.29)

[✓] IntelliJ IDEA Community Edition (version 2024.3) [166ms]
    • IntelliJ at D:\IntelliJ IDEA Community Edition 2024.3.2.1
    • Flutter plugin version 85.3.1
    • Dart plugin version 243.26753.1

[✓] VS Code (version 1.101.2) [20ms]
    • VS Code at C:\Users\hellf0rg0d\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.114.0

[✓] Connected device (3 available) [194ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.4652]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 138.0.7204.101
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 138.0.3351.77

[✓] Network resources [1,236ms]
    • All expected network resources are available.

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: duplicateIssue is closed as a duplicate of an existing issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/171961

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy