Skip to content

Device list missing when Flutter finds multiple devices with matching name/id #119271

Closed

Description

@vashworth

When you specify a device by id/name and it finds multiple non-exact matches, it displays a weird message that looks like a bug.

Steps to Reproduce

  1. Open 2 iOS Simulators that begin with letter i (they all should, or can use 2 devices with names that start the same letter/prefix)
  2. run flutter run -d i

What Happens

> flutter run -d i
Found 2 devices with name or id matching i:

What Expect to Happen

> flutter run -d i
Found 2 devices with name or id matching i:
iPhone 14 Pro (mobile)  • xxxxxxxxxx • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)
iPad mini (6th generation) (mobile) • xxxxxxxxxx • ios  • com.apple.CoreSimulator.SimRuntime.iOS-16-2 (simulator)

Other notes

This happens here:

globals.logger.printStatus(userMessages.flutterFoundSpecifiedDevices(devices.length, deviceManager.specifiedDeviceId!));
return null;

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jan 26, 2023
  2. self-assigned this
    on Feb 13, 2023
  3. github-actions commented on Mar 29, 2023

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  4. locked as resolved and limited conversation to collaborators on Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

toolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions