We mostly connect our Android device to our computers with a USB cable for debugging purposes. It is possible to use adb over a wifi connection.
Make sure both your adb host computer and Android device are on the same Wifi network.
Connect the device to the host computer with a USB cable.
Set the target device to listen for a TCP/IP connection on port 5555.
adb in tcpip mode with this command:
– $ adb tcpip 5555
TCP mode port: 5555
Disconnect the USB cable from the target device.
Find the IP address of the Android device.
Connect to the device, identifying it by IP address.
– adb connect <Your device ip address>
– $ adb connect 192.168.1.100:5555
-connected to 192.168.1.100:5555