Skip to content
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

improve error message when multiple device name/id matches are found #5675

Closed
eseidelGoogle opened this issue Aug 31, 2016 · 3 comments · Fixed by #5693
Closed

improve error message when multiple device name/id matches are found #5675

eseidelGoogle opened this issue Aug 31, 2016 · 3 comments · Fixed by #5693
Assignees
Labels
tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@eseidelGoogle
Copy link
Contributor

%flutter install
More than one device connected; please specify a device with the '-d <deviceId>' flag.

Eric's iPhone  • 245efaebda74df40169418839fff2a8368bcaae5 • ios
iPhone 6s Plus • EA9593DD-E35B-40BB-B848-3A7B22CC0A4F     • ios

%flutter install -d e
No device found with id 'e'.

This used to work, but maybe was intentionally changed? @danrubel might know. CC @devoncarew

@eseidelGoogle eseidelGoogle added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 31, 2016
@eseidelGoogle
Copy link
Contributor Author

Maybe the message is just wrong and it's actually matching both devices? The simulator device id also starts with E. donno.

@danrubel
Copy link
Contributor

Its matching the the 'E' in 'Eric' and the 'E' in the iPhone 6 id, so the tool does not know which device to target. I should improve the error message in this situation.

@danrubel danrubel changed the title flutter install with single-letter shortnames no longer works improve error message when multiple device name/id matches are found Aug 31, 2016
danrubel pushed a commit to danrubel/flutter that referenced this issue Aug 31, 2016
@danrubel danrubel self-assigned this Aug 31, 2016
danrubel pushed a commit that referenced this issue Sep 1, 2016
* improve device matching error message
fixes #5675
@github-actions
Copy link

github-actions bot commented Sep 6, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants