android - Virtual device running in Genymotion periodically goes offline in ADB -


i have android device (with lollipop image, if important) running in genymotion 2.4 , connect via adb (version 1.0.32) developer pc eclipse in local network without connectivity problems. fine except periodical drops of adb connection (other protocols keep working fine), adb loses device, , when try reconnect says device offline. experience, offline status mean receiving end (the device) still thinks it's connected , declines new connection. method know remedy problem restart device , adb connects expected.

if interested, adb not running on remote host machine genymotion - otherwise remove connections other pcs impossible.

the question: how can refresh "softly" virtual device accept new adb connection without restarting entire device?

p.s. if leave "offline" device own time (quite long time, example, hour) seems refreshes state without external interaction, adb again able connect , device reported "online". but, makes no sense wait long happen. new piece of information consideration.

this may not work you, has worked me in situation device goes adb offline. 1 of comments on question mentions emulator typically goes offline when device sleeps. mine same , goes offline after long periods of inactivity, despite not sleeping. anyway, fix plain , simple:

in terminal, navigate have sdk installed. then, navigate directory platform-tools within sdk, , issue following command:

adb kill-server 

after finishes, type one:

adb devices 

that fixes problem, , hope fixes yours well. let me know how works you.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -