Sometimes when you do adb devices it lists your device , while next moment when you do adb devices it doesn't show my devices.
I am using it for automating a workflow and adb disconnects with my Nexus frequently in between causing it to fail. I am on MAC. I know one solution is to restart adb server or reconnect the device but I cannot use these solutions in between the workflow
Please help