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

Sometimes client.listDevices() returns an error with null, like ADB failed to start #39

Open
niftylettuce opened this issue Jan 7, 2016 · 2 comments

Comments

@niftylettuce
Copy link

Any insight as to why this randomly happens? In order to get listDevices and trackDevices to work again I have to kill my process, then run adb devices manually on command line for the ADB server to start. Why isn't it starting on its own?

@sorccu
Copy link
Member

sorccu commented Jan 7, 2016

We would have to implement some kind of an overly complex process manager
to keep the adb process alive reliably. On our machines we use systemd to
watch adb.

On Thursday, 7 January 2016, niftylettuce [email protected] wrote:

Any insight as to why this randomly happens? In order to get listDevices
and trackDevices to work again I have to kill my process, then run adb
devices manually on command line for the ADB server to start. Why isn't
it starting on its own?


Reply to this email directly or view it on GitHub
#39.

@rkavalap
Copy link

@sorccu For some reason, interestingly this happens every ~6 hrs for me. I try to do listDevices every 5 mins.

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

3 participants