There are times when Android development is not always connected to the device, because the device's USB is frequently plugged in and will cause some damage. So when the device has been unable to use the data cable to connect development tools need to have a function, that is, wireless debugging, is it feel very feeling?
Wireless debugging can be triggered by the ADB command, or it can be opened by installing the relevant software. First of all, let's talk about doing it with the ADB command. Oh, almost forgot to say that the premise of both methods is that the device is already rooted.
So under the ADB command is so, if you have connected the USB, spicy to use the following command to turn on wireless debugging.
ADB tcpip 5555
ADB Connect xxx.xxx.xxx.xxx:5555
Then use the following method to cut back the USB debugging mode.
ADB USB.
Then the device can not be connected through the USB connection in the state we use the following method to connect.
SetProp Service.adb.tcp.port 5555
Stop ADB
Start adb
Then switch to USB connection mode in the following way
SetProp service.adb.tcp.port-1
Stop ADB
Start adb
Then it is opened with the relevant software, I am here to introduce the adbwireless, in fact, this software is the above command to encapsulate the use of buttons or other things to switch.
If your device does not get root, I would recommend a root tool, kingroot.
Get Root installed adbwireless after opening the software, that is the case.
This will appear after you click the button.
With the CMD command tool, enter ADB connect xxx.xxx.xxx.xxx:5555 to open the development tool and you will be able to debug wirelessly.
If the phone does not want to root the first with the development tools to connect the phone, you can identify the device and then use the wireless connection can be.
Android Development Wireless Debugging