ADB Devices Not showing when change from WSL1 to WSL2 #6359
Unanswered
elmartinezrojas
asked this question in
General
Replies: 1 comment 1 reply
-
Most common problem with WSL2 is adb needs public connections in the Windows Firewall. You may need to delete all the adb.exe inbound rules you find in Advanced Windows Firewall first. Next time you use adb the firewall will ask you so make sure to Allow for Private AND Public connections. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to Windows Subsystem for Linux. Recently I have experienced something that I don't know how to fix and is driving me crazy. Whenever I change the version from WSL1 to WSL2 of any of my Ubuntu versions on my Windows computer, the adb devices command won't show any device connected. But if I change it back from WSL2 to WSL1, it'll show the device with no problem at all. I have the same version of ADB both on host and WSL. I've also used the adb kill-server abd adb start-server command, and it only works when it WSL is in version 1, but won't work in WSL2. Is there anyone who can help me with this issue?? I'm attaching a screenshot with my current issue.
Beta Was this translation helpful? Give feedback.
All reactions