Chrome not showing up in Flutter: Select Device
See original GitHub issuei’m on Manjaro. i’ve install google-chrome from AUR
and it shows up in flutter doctor , flutter devices when executed from terminal. the problem is when i run flutter doctor from vscode it says
[✗] Chrome - develop for the web (Cannot find chrome executable at google-chrome) ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Android Studio not showing Chrome as Flutter device
1 Answer 1 · Uninstall Android Studio. Delete the folder at the above location. Reinstall Android Studio. Update sdk path in your sdk...
Read more >flutter devices not showing chrome - Code Grepper
flutter devices doesn't show chrome ; 1. Do the following steps ; 2. ; 3. flutter channel master ; 4. flutter upgrade...
Read more >Building a web application with Flutter - Flutter documentation
If Chrome is installed, the flutter devices command outputs a Chrome device that opens the Chrome browser with your app running, and a...
Read more >Android Studio not showing Chrome as Flutter device-Flutter
[Solved]-Android Studio not showing Chrome as Flutter device-Flutter · Uninstall Android Studio. Delete the folder at the above location. Reinstall Android ...
Read more >Debug events | Google Analytics for Firebase
Catch up on everything announced at Firebase Summit, and learn how Firebase can ... To enable Analytics debug mode on your development device,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you set
CHROME_EXECUTABLE
in a terminal startup script that might not apply to VS Code?Does it work if you launch VS Code from the terminal (where it works)?
You could also try setting the
dart.env
VS Code User Setting to apply env variables to all Dart/Flutter processes.Also, if you capture the Daemon Log, that should show whether the device is not showing up at all, or being filtered out because it thinks your project is not a web project.
Yeah, that’s a common problem. If VS Code is launched in a way that doesn’t inherit these environment variables, then of course it can’t find them. It’s better if you can set the variables somewhere globally so that all programs inherit them no matter how they’re launched, but that may be harder (if even possible) depending on your OS.
Can you run
flutter doctor -v
from a terminal, and then also using the Flutter: Run Flutter Doctor command in VS Code and attach the outputs of each in a new issue? Also include whether/home/smolck/Android/Sdk/platform-tools/adb
is the correct location ofadb
for you.