Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I cant use adb shell because device is offline #389

Open
martonBago opened this issue Sep 15, 2023 · 1 comment
Open

I cant use adb shell because device is offline #389

martonBago opened this issue Sep 15, 2023 · 1 comment

Comments

@martonBago
Copy link

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 martonBago changed the title [🚀 Feature Request ]: I cant use adb shell becaus device is offline Sep 15, 2023
@martonBago martonBago changed the title I cant use adb shell becaus device is offline I cant use adb shell because device is offline Sep 15, 2023
@ghmagi
Copy link

ghmagi commented Dec 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants