From 41412541204dede4f983847c88b8e18d0be3e61c Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sat, 6 Jul 2013 17:24:02 +0200 Subject: [PATCH] fix adb devices by using the self.adb_cmd --- buildozer/targets/android.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 4d71018..a0040ac 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -471,7 +471,7 @@ class TargetAndroid(Target): serial = environ.get('ANDROID_SERIAL') if serial: 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] serials = [] for serial in l: