Connect Android phone via WiFi (no data cable) for debugging

Real machine debugging is indispensable in Android development. It is inconvenient and unstable to always plug and unplug with data cable. In fact, it can connect Android phones by WiFi.

1. Of course, first turn on WiFi, and the mobile phone should be in the same LAN as the computer.

2. Install adbwireless on the mobile phone (you need to search on Google play). Note that the mobile phone needs to be rooted.

3. After installation, start adbwireless on the mobile phone and press the large button in the center of the screen to activate the wireless connection:

How to debug Android phone via WiFi connection (without data cable)

4. Follow the prompts on the screen, find ADB (Android debug bridge) from the Android SDK \ platform tools directory on the computer, and enter the following commands on the command line to complete the connection:

adb connect xx. xx. xx. xx

How to debug Android phone via WiFi connection (without data cable)

5. Now go back to eclipse and start debugging. It is found that the connection to the mobile phone has been successfully established:

How to debug Android phone via WiFi connection (without data cable)

The above is the information about Android using WiFi link debugging. It will be supplemented later. I hope it can help friends in need.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>