fix adb devices by using the self.adb_cmd
This commit is contained in:
parent
50b3dd8a71
commit
4141254120
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ class TargetAndroid(Target):
|
||||||
serial = environ.get('ANDROID_SERIAL')
|
serial = environ.get('ANDROID_SERIAL')
|
||||||
if serial:
|
if serial:
|
||||||
return serial.split(',')
|
return serial.split(',')
|
||||||
l = self.buildozer.cmd('adb devices',
|
l = self.buildozer.cmd('{} devices'.format(self.adb_cmd),
|
||||||
get_stdout=True)[0].splitlines()[1:-1]
|
get_stdout=True)[0].splitlines()[1:-1]
|
||||||
serials = []
|
serials = []
|
||||||
for serial in l:
|
for serial in l:
|
||||||
|
|
Loading…
Reference in a new issue