On Pixel 2 I have android 11 beta version running. The wireless adb pairing works fine from a Ubuntu machine to my phone but it fails from a Windows machine with following message
error: unknown host service
General steps:
- Dev Options > Wireless debugging (Enabled)
- [Accept on a prompt to trust current WiFi]
- Tap: Pair device with paring code
- From computer (i.e. Windows OS), using adb from 'Platform-tools' run
adb pair 192.168.1.45:40404
[IP address and port is visible in your phone in the dialog after tapping Pair device with paring code.] [Tried:.\adb pair ip:port, adb.exe pair ip:port
same error] - [When successfully connected, the dialog box disappears on it's own (saw this behavior from Linux/Ubuntu however from windows I am not having any luck]
Platform tools Downloads
Connect to phone
- [Once the device is paired]
- adb connect ip:port
- [NOT the ip:port visible in the dialog that comes on Pair device]
- the ip:port that is visible in the main page of Wireless debugging
Question
How can I resolve the wireless adb paring from Windows OS?