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
Did you try deleting and recreating your AVD? You can manually delete the AVD files by going to the directory they're stored in (in your user's /.android/avd subdirectory).
Just write
adb -e reboot
and be happy with adb))
See emulator-5554 unauthorized for adb devices. On API 29 emulator I run adb devices
command and got emulator-5554 unauthorized
message. Then I created a new avd
device from Google APIs
image (in my case Q, x86), not from Google Play
.
Enable USB Debugging into your emulator
That's it enjoy
Go to windows task manager and end process "adb.exe". There might be more than 1 instances of the same process, make sure to end all of them.
on linux or mac the port thats blocked will emulator-id + 1 so 5555 so:
sudo lsof -i :5555
will show you the pid of process that are taking the port (should be the second column) so to kill it:
sudo lsof -i :5555 | awk '{print $2}' | xargs kill
then adb (fake) devices will no longer show on the list