Method One:
1. Connect the device using the USB cable.
2. Command input adb tcpip 5555 (5555 is the port number, can be freely specified).
3. Disconnect the USB data, at which point you need to connect | USB device.
4. Re-order the IP address of the ADB connect < device >:5555
You can use ADB, DDMS to debug Android apps or display logcat messages later.
5. If you need to restore to a USB cable, you can enter ADB USB at the command line
Note: The IP address of the Android device can be found in Settings->about phone->status
Reference: http://blog.csdn.net/daditao/article/details/19077281
Method Two:
First let the phone and the computer under the same LAN, and then download a name of the app called Adbwireless (to the Google Play Store can be found), download the installation run software, will show the phone on the current LAN IP address and port (if the phone needs root), You can then see the IP address and port number appearing on your phone.
Then open the command line and go to the Platform-tools folder in the directory where you installed the SDK and enter: ADB connect mobile IP address (my is 192.168.1.110)
Method one has tried to pass, the phone is not root;
This article transferred from: http://www.cnblogs.com/tiantianbyconan/p/3775176.html
Android Wireless debugging