[Solved] Can WSL2 run adb to connect to WSA?
Closed this issue · 1 comments
Schefflin commented
I want to use WSL Android-sdk-tools to work on WSA. However, under WSL, only "eth0" from itself is listed, no other vEthernet can be found.
Schefflin commented
On Windows11 23H2(make sure you complete all updates), supposing you have installed WSL2 and run the distribution, open "WSL Settings--Network" and choose "Mirrored", and then exit and restart your PC. When your WSA is running, press "ip addr show" on WSL to check it, if you see the result like this:
"adb start-server" (be patient to wait for few minutes)
"adb connect 127.0.0.1:58526"
Enjoy!