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
I solved this by opening my commandprompt:
adb kill-server
adb devices
After starting up, ADB now detects the device/emulator.
From AVD manager list at the actions dropdown: Cold Boot Now
restarts it without all pain above.
In my case, the emulator was working with Oreo and lower, but not with Pie, and everything I tried seemed to have no effect. What finally worked was updating the emulator to latest (version 28).
In my case, I started in 'Cold Boot Now' and clicked on Message to allow the connection.
Do you have bluestacks installed? If you do, the background processes that it runs creates the offline device "emulator-5554".
Go to the task manager and end all the processes with the description of "Bluestacks"
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!!