How to connect ADB over the Wifi

Step-by-step of how you can use ADB in wireless.

1. Connect USB in your computer

2. Tell to ADB Daemon, which devices should connect on it. So, type the following commands:

a) "adb devices" to list attached devices
b) "adb tcpip <PORT NUMBER>" to listen any requests coming from <PORT NUMBER>
c) "adb connect <HOST>:<PORT NUMBER>" to connect the attached device in adb server

3.) Disconnect the USB cable:

3. Now, go back to shell and type "adb shell". Now you can access any resources from your Android device over Wifi. Type "exit" to close the shell.

4. Now, type "adb usb" to return to listening over USB mode

Thanks for reading!