In the latest flutter 0.5.1 release version they say you can launch an emulator in browser. Does anyone know how to get this up and working??
-
Where did you find that release note?Bostrot– Bostrot2018-06-21 12:29:00 +00:00Commented Jun 21, 2018 at 12:29
-
Here. Tooling for Flutter Release Preview 1Taio– Taio2018-06-21 12:31:54 +00:00Commented Jun 21, 2018 at 12:31
-
1I actually read that article wrong. SorryTaio– Taio2018-06-21 12:35:36 +00:00Commented Jun 21, 2018 at 12:35
-
@KevinRobert Then, please delete the question. This helps pushing other question that might need some attention.creativecreatorormaybenot– creativecreatorormaybenot2018-06-21 12:46:13 +00:00Commented Jun 21, 2018 at 12:46
1 Answer
There's no way to launch an emulator in the browser; I think there is a screenshot that's badly-placed in that article that might have confused things. The screenshot is unrelated to launching emulators.
However, launch real emulators (not in the browser) is indeed supported in VS Code. As long as you have >= v0.5.1 of Flutter and v2.13 of the Dart plugin for VS Code, you can indeed launch emulators from the editor.
Taken from the release notes:
Emulator Launching
Emulators can now be launched directly from within Code. If you start debugging without a connected device you'll be presented with a list of emulators on your system to launch.

After selecting a device a notification will appear while the device boots and connects.
You can also trigger the emulator selection by clicking on No devices in the status bar or by running the Flutter: Launch Emulator command from the command palette.
