Reputation: 91
I am trying to use adb to connect to my Android subsystem in windows (WSA). But when using
adb connect 172.23.178.142
(IP is correct)
Upvotes: 0
Views: 10748
Reputation: 11
Check your antivirus software. In my case, the WSA is blocked by AVG and being quarantined.
Upvotes: 0
Reputation: 54935
You can try to use an IPv4 Address starting with "192.168" instead of using the "127.0.0.1" loopback address. Additionally, go to the WSA settings to explore the "Experimental features" and make sure to enable "Local network access".
In general, this is how to connect WSA using the Android Debug Bridge (adb):
adb
connection URLadb
(comes with the Android SDK Platform-Tools)ipconfig
in the Windows PowerShelladb
, Example: adb connect 192.168.178.70:58526
There is a post with screenshots here and a video tutorial showing these steps in detail.
Upvotes: 0
Reputation: 17404
I faced same issue
Solution
Launch the Files application. See the image below
Connect the adb using command adb connect 127.0.0.1:58526
Upvotes: 0
Reputation: 1
For connecting with wsa through adb, you will need to open wsa settings (green icon), go to Developer and activate Developer mode. Then you will connect adb with the given ip adress on the same location.
Upvotes: 0