To enable Android Debug Bridge (adb) debug via WiFi, connect IP address with the command:
$ adb connect <Android device IP>
or
$ adb connect <Android device IP>:<port>
example:
$ adb connect 192.168.1.111
(the default port number is 5555)
remark:
In my own case, i need to run the command adb tcpip (with usb connected) before connect at the first time:
$ adb tcpip 5555
FAQ:
- Android ADB device offline
- unable to connect to <ip address>:<port>