"Android Test" "section three" the Wireless mode of ADB

Source: Internet
Author: User

What does wireless work for?

People with Android devices have probably come across a scenario like this:

1, with mobile phone took a lot of photos, want to cuff to the computer;

2, the computer has a lot of movies, want to cuff to the phone;

3, write Android code, with the real machine for debugging;

When you have this kind of demand, you need to find a USB cable, and then use the wire to connect the phone and the PC side, and then do the next thing. This seems like a simple thing, in real life, I have encountered a lot of trouble:

1, the USB cable is too short, debugging when the phone can not be placed on the table, the head must be low debugging (ah yo, I found me so miserable);

2, the computer USB port inserted a variety of equipment, no place to plug a line again;

3, some USB port problems, plug only the current transmission, no data transmission;

In short, sometimes, often because of this thing and burn, make people very uncomfortable.

Now as long as you open the wireless adb mode, all the above said everything can be done wirelessly, no need to worry about every time to connect the data line.

Open method

Open wireless mode in Google's documentation is very clear, no nonsense, directly on the operation of the steps:

1, with USB connection;

2. Start executing the following command in turn:

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8A/51/wKioL1gtbNyBzPm4AADSQr6JeE4690.png "title=" 101752307995511.png "alt=" Wkiol1gtbnybzpm4aadsqr6jee4690.png "/>

3. Unplug the USB cable after execution.

Done!

Precautions

Yes, almost forgot, there are a few things to note:

1, the first need to ensure that the PC and mobile phone in the same LAN, if necessary, the need to shut down the firewall (ADB connect failure is mostly because of this reason).

2, ADB connect behind the IP address, is the IP address of the mobile phone, in the "Settings"-"about the phone"-"status information"-"IP Address"

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8A/55/wKiom1gtbQzTN597AABZYsChC_s965.png "title=" 21111485.png "alt=" Wkiom1gtbqztn597aabzyschc_s965.png "/>

3, when you do not want to use the wireless adb, direct adb kill-server can be.

This article from the "Half wake half drunk half-floating" blog, please be sure to keep this source http://sweettesting.blog.51cto.com/12233355/1873951

"Android Test" "section three" the Wireless mode of ADB

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.