I\'m having a problem with emulator-5554, it keeps telling me it is offline.
When I do a adb devices from the command line it says
adb devices
Ensure that your enable ADB integration is marked; go to Tools>Android>Enable ADB integration .
if doesn't checked , check this option and close your virtual device and re-open it . this worked for me.. good luck!!