Debug Android programs through WiFi

Source: Internet
Author: User

See some onlineProgramThe writing is very complicated, and basically requires root. For licensed machines, the root may lose the warranty.

Therefore, do not use root as much as possible.

If you have root, you can select adbwireless, which is very convenient. click the button to prepare the machine.

If it is not root, make sure that your computer and mobile phone are connected to WiFi and in the same LAN.

1. Connect the USB to the computer.

2. Run the SDK directory platform-Tools

ADB TCPIP5555

Switch the ADB on the machine to the network mode. The latter 5555 is the port number. I want to change it to another one, but it is not necessary.

3. Find the IP address of your machine and execute

ADB connect<Your mobile IP Address>:5555

In this way, the phone is connected through WiFi.

You can run the ADB command or debug it through eclipse.

4. switch back to USB Mode

ADB USB

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.