Android wireless debugging-remove the USB data cable

Source: Internet
Author: User

Android Developers all know that real machine debugging requires connecting the mobile phone to the PC, and then deploying the application to the real machine for installation and debugging. The long USB cable is troublesome, And it is inconvenient to connect the USB interface to other devices. Today, we will introduce a method for debugging a real machine without passing the USB cable.

First, let the mobile phone and the computer be in the same LAN, then download an application named adbwireless (which can be found at the Google Play Store), download the installed software, and run it, the IP address and port number of the mobile phone on the current LAN are displayed (if the mobile phone needs root). Then, the IP address and port number are displayed on the mobile phone.

Then open the command line, enter the platform-Tools Folder In the SDK installation directory, enter the ADB connect mobile phone IP address (my name is, and press Enter. the following result is displayed:

Finally, check that the mobile phone has been connected to the computer in the eclipse device, and the source displays the IP Address:

Run a project at will, and the project is successfully run on the mobile phone. You can view the log diary and debugging information. OK, everything is done. Enjoy the development without using USB cables.

If you are interested in Android and iOS, you can join our QQ discussion group. Here, we will only discuss the following:

IOS group: 220223507

Android group: 282552849

Welcome to my Sina Weibo chat: @ Tang Ren _ Ryan

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.