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

How to connect android devices from WSL2 with adb #92

Open
mylamour opened this issue Jun 2, 2022 · 0 comments
Open

How to connect android devices from WSL2 with adb #92

mylamour opened this issue Jun 2, 2022 · 0 comments
Labels

Comments

@mylamour
Copy link
Owner

mylamour commented Jun 2, 2022

  1. Open powershell and run adb server
.\adb.exe -a -P 5037 nodaemon server

Screenshot 2022-06-02 205904

  1. Set ADB_SERVER_SOCKET in WSL
adb -H 172.30.112.1 -P 5037 devices
export ADB_SERVER_SOCKET=tcp:172.30.112.1:5037
adb devices

screenshot 2022-06-02 205928

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

No branches or pull requests

1 participant