Reputation: 61
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
Upvotes: 5
Views: 6348
Reputation: 392
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
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:
sdk
path in your sdk manager
as well as in your environment variable. (recommended).sdk
folder in the sdk manager
as well as your environment variables.Upvotes: 10