avoid start message of adb
This commit is contained in:
parent
a4ea97ac03
commit
4fe9296947
1 changed files with 2 additions and 2 deletions
|
@ -472,10 +472,10 @@ class TargetAndroid(Target):
|
|||
if serial:
|
||||
return serial.split(',')
|
||||
l = self.buildozer.cmd('{} devices'.format(self.adb_cmd),
|
||||
get_stdout=True)[0].splitlines()[1:-1]
|
||||
get_stdout=True)[0].splitlines()
|
||||
serials = []
|
||||
for serial in l:
|
||||
if serial.startswith('*'):
|
||||
if serial.startswith('*') or serial.startswith('List '):
|
||||
continue
|
||||
serials.append(serial.split()[0])
|
||||
self._serials = serials
|
||||
|
|
Loading…
Reference in a new issue