Debug without a data cable connected to an Android phone

Source: Internet
Author: User

These two days the USB cable lost, always find colleagues to borrow also inconvenient, so on the internet to find a variety of methods, here summed up the simplest, of course, your phone needs root:

1 to open WiFi, mobile phone and computer in the same LAN, this you can use your development machine to share WiFi can, I use the WiFi Sharing wizard, a button to do

2 installing ADB Wireless on your phone

3 after installing the ADB Wireless on your phone, press the Big green button at the center of the screen to start the connection

4 find adb from Android Sdk\platform-tools directory on PC, command line enter the following command to complete the connection: ADB connect xx.xx.xx.xx

5 now in Eclipse Start debugging, found that the phone connection has been successfully established, direct run as, done!

Debug without a data cable connected to an Android phone

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.