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
Post a Comment