-
Notifications
You must be signed in to change notification settings - Fork 323
Cannot differentiate two devices of the same type in the device selector #4632
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
Comments
Could you post the output of running |
[
{
"name": "VNE AN00",
"id": "A6QUCP2C05400813",
"isSupported": true,
"targetPlatform": "android-arm64",
"emulator": false,
"sdk": "Android 11 (API 30)",
"capabilities": {
"hotReload": true,
"hotRestart": true,
"screenshot": true,
"fastStart": true,
"flutterExit": true,
"hardwareRendering": false,
"startPaused": true
}
},
{
"name": "VNE AN00",
"id": "A6QUCP2C26403181",
"isSupported": true,
"targetPlatform": "android-arm64",
"emulator": false,
"sdk": "Android 12 (API 31)",
"capabilities": {
"hotReload": true,
"hotRestart": true,
"screenshot": true,
"fastStart": true,
"flutterExit": true,
"hardwareRendering": false,
"startPaused": true
}
},
] their ID are different and android studio for example does show me a difference between two devices |
Is Android Studio just showing the raw ID ( |
|
Yep! The brightest text will be "VNE AN00" (eg. where mine says "Mi A2"), and the ID "A6QUCP2C05400813" will be the first part of the next text (where mine says "33aa844"). |
I do not understand, you do not plan to tell me HOW to make it? |
The change is in the Dart extension code. I have made that change, but you will need a new version of the Dart extension to see it. I will publish a pre-release version later this week, and you can switch to that if you would like to get the update before the next stable release. |
oh you are the developer? I have not got it. |
version 38 is out. is there smth? |
I'm not sure what version 38 you're referring to. The current extension version is 3.68. Anyway, I have published pre-release versions of the extensions. Please click the "Switch to Pre-Release" buttons for Dart + Flutter extensions and then click the "Reload" buttons once they have finished installing: These include the updates, and you should be able to see the IDs in the device picker. Please let me know if this doesn't work for you. Thanks! |
Please file a new issue requesting this. If people add 👍 s and it seems useful to many, we could consider it. Thanks! |
ok. oh i have been suffered this issue since February and I did not know I can just solve it that easy by writing an issue report ) |
It's not guaranteed everything raised gets fixed quickly, but things are definitely more likely to be addressed if they have been raised, because otherwise I might not know about the issues :-) If you find bugs or have suggestions, please do open issues! |
Type: Bug
i have two same phones. when i connect both to computer, vs code shows their names in "select device to use" and they are same. cannot understand what is what.
it is a name of phone model, so it cannot be fixed manually at the settings. it is a hardware phone name.
vs code does not allow me to choose how, by which name i want to see list of devices
Extension version: 3.66.0
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.22621
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: