Allow for different adb server version messages in device detection (#9974)
This commit is contained in:
parent
d562e1aa63
commit
ff7d9432b8
@ -541,7 +541,7 @@ List<AndroidDevice> getAdbDevices({ String mockAdbOutput }) {
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Skip lines about adb server and client version not matching
|
// Skip lines about adb server and client version not matching
|
||||||
if (line.startsWith('adb server version')) {
|
if (line.startsWith(new RegExp(r'adb server (version|is out of date)'))) {
|
||||||
printStatus(line);
|
printStatus(line);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user