TIPS: you do not need to connect the data cable to your Android phone for debugging.

Source: Internet
Author: User

Real-machine debugging is indispensable in Android development. It is inconvenient and unstable to plug and unplug data lines. In fact, WIFI can be used to connect to android phones. You can also read another article about debugging Android real machines.

1. Of course, you must first enable WIFI, and the mobile phone must be in the same LAN as the computer.

2. Install AdbWireless on your mobile phone (you need to search for it on Google Play). Note that the mobile phone needs to be root.

3. After the installation is complete, start AdbWireless on the mobile phone and press the big button in the center of the screen to activate the wireless connection:

4. Follow the on-screen prompts to find adb (Android Debug Bridge) in the Android SDK \ platform-tools directory on your computer. Run the following command on the command line to complete the connection:

Adb connect xx. xx

 

 

5. Now go back to Eclipse to start debugging and find that the connection to the mobile phone has been successfully established:

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: info-contact@alibabacloud.com 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.