Let default emulator pick the right kernel

This commit is contained in:
Serghei Moret 2018-07-03 20:46:23 +02:00 committed by GitHub
parent 59f61e057e
commit d176e69cc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,7 +193,7 @@ def run():
dp_size = os.getenv('DATAPARTITION', '550m')
with open("/root/android_emulator/config.ini", "a") as cfg:
cfg.write('\ndisk.dataPartition.size={dp}'.format(dp=dp_size))
cmd = 'emulator -avd {name} -gpu off -verbose'.format(name=avd_name)
cmd = 'emulator/emulator @{name} -gpu off -verbose'.format(name=avd_name)
appium = convert_str_to_bool(str(os.getenv('APPIUM', False)))
if appium:
subprocess.Popen(cmd.split())