docker-android icon indicating copy to clipboard operation
docker-android copied to clipboard

I cant use adb shell because device is offline

Open martonBago opened this issue 2 years ago • 1 comments

Idea

I have an issue with adb shell.

Probelm to solve

When I check adb devices it shows that the connected emulator device is offline therefore I cant open a shell with adb shell command.

Additional Note

I am using win11

martonBago avatar Sep 15 '23 14:09 martonBago

The following is very basic, and is what has worked for me; execute in a terminal on host

$ adb kill-server
$ adb devices // also automatically starts server
$ adb connect {machine-ip:port} // e.g. ... localhost:5555

Now try starting the adb shell

ghmagi avatar Dec 10 '23 15:12 ghmagi