Skip to content

Support launching custom emulators #1553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DanTup opened this issue Mar 25, 2019 · 3 comments
Closed

Support launching custom emulators #1553

DanTup opened this issue Mar 25, 2019 · 3 comments
Labels
in flutter Relates to running Flutter apps is enhancement
Milestone

Comments

@DanTup
Copy link
Member

DanTup commented Mar 25, 2019

See comment at #490 (comment) by @nmfisher and the following comments.

This could be useful for:

  • Allowing launching of any third party emulator that Flutter doesn't know how to handle
  • Changing the command run when launching a known emulator (by allowing reusing the same ID and overriding)
@DanTup DanTup added is enhancement in flutter Relates to running Flutter apps labels Mar 25, 2019
@DanTup DanTup added this to the On Deck milestone Mar 25, 2019
@DanTup DanTup modified the milestones: On Deck, v3.7.0 Oct 24, 2019
@DanTup DanTup modified the milestones: v3.7.0, v3.8.0 Nov 27, 2019
@DanTup DanTup modified the milestones: v3.8.0, v3.9.0 Jan 2, 2020
@DanTup DanTup modified the milestones: v3.9.0, v3.10.0 Mar 24, 2020
DanTup added a commit that referenced this issue Apr 15, 2020
@DanTup
Copy link
Member Author

DanTup commented Apr 15, 2020

Here's an example that overrides an existing emulator to force -gpu host (the ID matches the one returned by flutter emulators, so it gets merged).

Screenshot 2020-04-15 at 15 20 11

Note: You can create your own emulators (with unique IDs), but they must still show up in flutter devices after being launched, otherwise VS Code will sit for 60 seconds and then say the emulator did not launch.

@DanTup DanTup closed this as completed in e28b0b0 Apr 16, 2020
@neiljoseph9
Copy link

Where are we supposed to type this in??

@DanTup
Copy link
Member Author

DanTup commented Aug 25, 2021

@neiljoseph9 the code above is a VS Code setting. You can open your VS Code User Settings by running the Preferences: Open Settings (JSON) command from the VS Code command palette.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in flutter Relates to running Flutter apps is enhancement
Projects
None yet
Development

No branches or pull requests

2 participants