Hi.
Sorry for the poor English but I'll try to make myself as clear as possible.
When I try to run my flutter web app I get the following error:
Error message
Launching lib\main.dart on Edge in debug mode...
lib\main.dart:1
Failed to launch browser after 3 tries. Command used to launch it: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe --user-data-dir=C:\Users\lucas\AppData\Local\Temp\flutter_tools.4b2cc7a6\flutter_tools_chrome_device.92450466 --remote-debugging-port=57626 --disable-background-timer-throttling --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate http://localhost:57607
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.
It started about three days ago when I was using Android Studio and Microsoft Edge, I did a lot of research but no success even after downloading Google Chrome, funny thing is that I installed VSCode and managed to run the app with Edge in debug mode.
Then I decided to format my PC and have a fresh start with VSCode from yesterday and everything was going fine until now that I tried to run the app and the same error occurred again, what's even funnier is that now I'm able to run the app with Android Studio, the exact opposite situation that I had before formatting the PC.
I am aware that "flutter run -d web-server" is a workaround for my issue but I couldn't track any error while developing using this run mode, which has being also annoying.
I'm working on Windows 10, CPU Ryzen 7 4800h, 16gb RAM, SSD.
Flutter Doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.3.5, on Microsoft Windows [Version 10.0.19045.2130], locale pt-BR)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.20)
[√] Android Studio (version 2021.3)
[√] VS Code (version 1.72.2)
[√] Connected device (2 available)
[√] HTTP Host Availability
! Doctor found issues in 1 category.
Hi.
Sorry for the poor English but I'll try to make myself as clear as possible.
When I try to run my flutter web app I get the following error:
Error message
It started about three days ago when I was using Android Studio and Microsoft Edge, I did a lot of research but no success even after downloading Google Chrome, funny thing is that I installed VSCode and managed to run the app with Edge in debug mode.
Then I decided to format my PC and have a fresh start with VSCode from yesterday and everything was going fine until now that I tried to run the app and the same error occurred again, what's even funnier is that now I'm able to run the app with Android Studio, the exact opposite situation that I had before formatting the PC.
I am aware that "flutter run -d web-server" is a workaround for my issue but I couldn't track any error while developing using this run mode, which has being also annoying.
I'm working on Windows 10, CPU Ryzen 7 4800h, 16gb RAM, SSD.
Flutter Doctor