Skip to content

Support launching custom emulators #1553

Closed

Description

@DanTup

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)

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    in flutterRelates to running Flutter apps
    on Mar 25, 2019
  2. added this to the On Deck milestone on Mar 25, 2019
  3. modified the milestones: On Deck, v3.7.0 on Oct 24, 2019
  4. modified the milestones: v3.7.0, v3.8.0 on Nov 27, 2019
  5. modified the milestones: v3.8.0, v3.9.0 on Jan 2, 2020
  6. modified the milestones: v3.9.0, v3.10.0 on Mar 24, 2020
  7. added a commit that references this issue on Apr 15, 2020
    11976c9
  8. DanTup commented on Apr 15, 2020

    @DanTup
    MemberAuthor

    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.

  9. neiljoseph9 commented on Aug 24, 2021

    @neiljoseph9

    Where are we supposed to type this in??

  10. DanTup commented on Aug 25, 2021

    @DanTup
    MemberAuthor

    @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

Metadata

Metadata

Assignees

No one assigned

    Labels

    in flutterRelates to running Flutter appsis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions