The plugin now launches the Android emulator in a tool window, if that option has been set.
Thanks to GitHub user pedromassango for the contribution!
There is a known issue with this feature when running IntelliJ on a Mac. The tool window will open, but will close itself before the emulator appears. The tool window can be reopened and everything will be fine. This does not happen with IntelliJ on Windows, and it does not happen in Android Studio.
If the Flutter plugin does not connect to the emulator there may be a problem with the Android module setting. Use the Flutter command-line tool to run: flutter devices. You may see something like:
• Device emulator-5554 is offline.
That is probably due to the minimum SDK set by the Android module being too high for the selected emulator. Android Studio has a somewhat more informative indicator of this problem:
There were a few less interesting changes.
Update to JxBrowser 7.27
Update to VM Service Protocol 58
Guard against nulls to reduce exceptions
Catch some uninteresting exceptions and ignore them
Android Studio
Bumblebee | 2021.1
Chipmunk | 2021.2
Dolphin | 2021.3
Electric Eel | 2022.1 (unofficial, since this is the canary version)
IntelliJ
2021.1, 2021.2, 2021.3
2022.1, 2022.2