Yuvi
Yuvi

Reputation: 750

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 ?

Upvotes: 4

Views: 10121

Answers (3)

Ali Qanbari
Ali Qanbari

Reputation: 3111

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.

Upvotes: 13

a..
a..

Reputation: 109

You need to switch to flutter's master channel. In Terminal, run the following commands:

  1. Switch to flutter channel master
    flutter channel master
  1. Enable web support in Flutter
    flutter config --enable-web

Upvotes: 2

Yuvi
Yuvi

Reputation: 750

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.

Upvotes: 2

Related Questions