Issue
This Content is from Stack Overflow. Question asked by Chinmay K
It’s extremely frustrating to see the wireless adb
repeatedly fail, when the process must seem very straightforward. Here’s how I got it working after an hour of screaming at my screen.
Solution
Note
adb pair
must run before adb connect
!! Without this, it will not work even if everything else is alright.
Now the other things
- Forgot the wifi network on phone and reconnect.
- Use sudo
- In dev settings, press and hold on the
Wireless ADB
to open the full menu. - Click on
Pair device with pairing code
– use that IP address (eg. say IP was 192.168.0.123:45678) withsudo adb pair 192.168.0.123:45678
- DO NOT CLOSE THE POPUP WHICH SHOWED YOU THE PAIRING CODE, it will reset the pairing port.
adb
will ask for the pairing code, enter that.- It will successfully pair, if not retry everything above
- Then hit
sudo adb connect
and see the notification on your phone indicating good connection.
This Question was asked in StackOverflow by Chinmay K and Answered by Chinmay K It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.