![]() Select "Port" then Specific TCP port "5037", then "Allow the connection".Right click on "Inbound Rules" and click "New Rule".Open Windows Defender Firewall and go to Advanced Settings.(1) In WSL, add the following to ~/.bashrc: export WSL_HOST_IP="$(tail -1 /etc/nf | cut -d' ' -f2)"Įxport ADB_SERVER_SOCKET=tcp:$WSL_HOST_IP:5037 Found this work-around in a WSL GitHub issue that worked, adding the steps here with a few extra details: If Android Studio was open in WSL2, close it and then open it again.įinally your device is available to debug!ĪDB over TCP did not work for me.Run adb kill-server in the WSL2 terminal and then run adb connect PHONE_ID:5555. adb will probably fail because of the connection confirmation. ![]() ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |