Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

device name convention & read-only emulator #9

Open
lpxz opened this issue Mar 24, 2017 · 0 comments
Open

device name convention & read-only emulator #9

lpxz opened this issue Mar 24, 2017 · 0 comments

Comments

@lpxz
Copy link

lpxz commented Mar 24, 2017

HI,
thanks for making this great work public!

Here are a few fixes:
(1) in boot_devices() in emulator.py, you used the following to get the device name.
However, this naming convention may not always be correct.
for i in range(0, settings.DEVICE_NUM):
device_name = settings.AVD_SERIES + str(i)
One simple fix is to let users specify the device_name in settings.py

(2) in boot_devices() in emulator.py, we need the option "-writable-system", otherwise, the mounting of "/system" may fail. Also, please remove "-no-audio" since it is no longer a valid option.
sub.Popen('emulator -avd ' + device_name + " -wipe-data -writable-system",
stdout=sub.PIPE, stderr=sub.PIPE, shell=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant