budtmo / docker-android

Android in docker solution with noVNC supported and video recording
Other
9.56k stars 1.27k forks source link

I cant use adb shell because device is offline #389

Open martonBago opened 1 year ago

martonBago commented 1 year ago

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

ghmagi commented 9 months ago

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