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

Unable to detect devices less than Lollipop #129

Open
Ebirux opened this issue Jan 20, 2015 · 0 comments
Open

Unable to detect devices less than Lollipop #129

Ebirux opened this issue Jan 20, 2015 · 0 comments

Comments

@Ebirux
Copy link

Ebirux commented Jan 20, 2015

Hello,

In the viewclient.py line 1456
if s != 'unknown':
serialno = s

There is a bug when using a virtual device that does not have a serial number and the android version is less than Lollipop. When it hits that line, it sets the serialno to "* daemon not running. starting it now on port xxx *"

I added
if "daemon not running." in serialno:
# FIXME !!!!!
# this must be calculated from somewhere, though using a fixed serialno for now
warnings.warn("Running on emulator but no serial number was specified then 'emulator-5554' is used")
serialno = 'emulator-5554'
right after line 1457 and that resolved the issue.

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