adb connect
STEP 1.
Set the target device to listen for a TCP/IP connection on port 5555
disconnect the USB cable from the Android device
adb tcpip 5555
STEP 2.
Connect to a device over Wi-Fi.
find your Android device IP address at Settings > About phone > Status > IP address
adb connect 192.168.100.12
STEP 3.
Confirm that your host computer is connected to the Android device over Wi-Fi
adb devices
List of devices attached
192.168.100.12:5555 device
192.168.100.12:5555 device