Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter for web: cannot find chrome as a connected device. How to enable chrome as a connected device to start developing on web?

I have followed the below steps to upgrade to latest version and still cannot find chrome as a connected device.

enter image description here

How do I enable chrome as a connected device so that I can start developing for web ?

like image 324
Yuvi Avatar asked Dec 07 '22 11:12

Yuvi


2 Answers

run flutter config --enable-web on master or dev channel and then you can see chrome as a target in android studio or flutter devices

Update: With flutter 2.0 you can also do it on stable.

like image 199
aligator Avatar answered Dec 20 '22 04:12

aligator


run flutter config --enable-web on master or dev or beta channel and then you can see chrome as a target in android studio or flutter devices

P.S: Since the flutter for web is available in beta channel now we can use it in beta channel as well. Once flutter for web is released in stable channel this question becomes irrelevant.

like image 20
Yuvi Avatar answered Dec 20 '22 03:12

Yuvi