-
Notifications
You must be signed in to change notification settings - Fork 133
GetDevices fails if device name contains a white space #42
Comments
Hi @Viper2k4 , Thanks for the feedback! I may need your help to further troubleshoot this -- the bug you reference was reported by me on Codeplex and I've carried over the unit test for that case, it's in DeviceDataTests That makes me guess you're having slightly different device data which SharpAdbClient fails to process. Could you let me know which device data you are seeing? Do you have a stack trace? Thanks! |
Hi, i would, but i can not :/ i got this error with a device of on colleague. But i see him next time in one or two weeks. But i try to get the devicename if possible. Greetings |
Hi, now i got access to the devies. Its an Nexus 5X with Android N (prev 3). Here the Error with DeviceData:
|
Cool, I'll check it & get back to you. Thanks! |
It looks like the "features:shell_v2,cmd" at the end brakes the regex. It seems "features" is expected a bit earlyer in the string. If i remove it the regex work just fine. |
Add support for emulator devices
Thanks, I've just pushed a commit to Let me know if this fixes the issue for you (when you have access to the device :)) |
It should fix the issue. But i cant validate it :(. But it think it should be fine, because the test based 1:1 on "my problem device" :) I think we can close the issue. If i got an other Error i will report it ^^ |
So i got my hands on the device and i can 100% proof that the fix work :) |
Hi,
this is bug:
camalot/madb#27
Is also a bug here. It results in an empty list with an "Invalid device list data"-Exception.
Greetings
The text was updated successfully, but these errors were encountered: