Flutter – Failed to launch browser. Make sure you are using an up-to-date Chrome or Edge

Issue

I am having a problem when I try to run my flutter application on chrome I get this 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.

I have tried to run flutter doctor and this is the outcome :

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 2.5.0-5.2.pre, on Ubuntu 21.04 5.11.0-31-generic, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] VS Code
[✓] Connected device (1 available)
• No issues found!

I have tried everything but nothing seems to work

thanks in advance for your responses

Solution

reinstalling flutter sdk worked for me

Answered By – saeed bayat

Answer Checked By – Mary Flores (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *