adb devices reporting Nexus 7 offline
Occasionally run into a problem when switching devices (unplugging one device and plugging in a different one to collect logcat information), “adb devices” reports my Nexus 7 (running 4.2.2) as offline. Bouncing the adb service (adb kill-server, adb start-sever) doesn’t fix it, either use unplugging the device and plugging it back in. So far, one method (discovered by accident seems to work the best) – putting my mac to sleep (this often happens due to having to attend meetings) when I return and run “adb devices” again,the Nexus 7 is no longer offline – wacky but it least it works. Will try putting the mac to sleep on purpose next time to see if it works.