fixes missing quotes to protect apk path. Closes #480

This commit is contained in:
Mathieu Virbel 2017-05-01 15:03:44 +02:00
parent 38f4b294c1
commit d7f15a9311

View file

@ -890,8 +890,8 @@ class TargetAndroid(Target):
for serial in self.serials:
self.buildozer.environ['ANDROID_SERIAL'] = serial
self.buildozer.info('Deploy on {}'.format(serial))
self.buildozer.cmd('{0} install -r {1}'.format(self.adb_cmd,
full_apk),
self.buildozer.cmd('{0} install -r "{1}"'.format(
self.adb_cmd, full_apk),
cwd=self.buildozer.global_platform_dir)
self.buildozer.environ.pop('ANDROID_SERIAL', None)
@ -938,4 +938,3 @@ class TargetAndroid(Target):
def get_target(buildozer):
return TargetAndroid(buildozer)