Android Studio not showing Chrome as Flutter device
- Clearly it is not the issue with flutter. It is an issue with your Android Studio installation. You can verify the same by navigating to the your project folder in the terminal (or command prompt) and type
flutter run -d Chrome
.
NOTE: The above command works only if you are on master
, beta
or dev
branch and you have already enabled your flutter web support by typing
flutter config --enable-web
- I noticed that your path to Android Studio as: C:\Program Files\Android\ Android Studio1
It means that during installation the original Android Studio folder is not deleted. A duplicate folder has been created in the same location. Hence the Android sdk
location is must be changed as well.
You can solve this by:
- Uninstall Android Studio. Delete the folder at the above location. Reinstall Android Studio. Update
sdk
path in yoursdk manager
as well as in your environment variable. (recommended). - Update the
sdk
folder in thesdk manager
as well as your environment variables.
Admin
Updated on December 21, 2022Comments
-
Admin over 1 year
I got a small problem which accured after reinstalling Android Studio: Android Studio
Android Studio is not showing Chrome as Device for my Flutter Web project, while flutter doctor shows clearly everything is enabled correctly: Flutter doctor
I can normally run the flutter project on google chrome using the console or VS Code, but Android Studio does not work. I already checked the Flutter and Dart plugin.
I would be glad if someone who maybe had the same issue or knows how to fix this gets back to me!
Best Regards
-
flutter almost 4 yearswhat channel are you on? type flutter channel in terminal
-
-
Joaquin Iurchuk about 3 years
flutter config --enable-web
was the key. Thanks