No data cable, WiFi can also connect Android real machine development debugging! Completely solve the "unrecognized USB device" and other data cable connectivity issues!

Source: Internet
Author: User

I am a small Android Developer, my phone is Samsung GALAXY SII i9100, but also a bit old machine, it is estimated that there are few people in use, Samsung stores are not sold. Usually do not play anything too large game words are fully enough, and used for development and debugging is also a good model, so I often run on their own phone debugging.

But recently a bit of egg pain is, do not know whether the data line is bad or a computer or mobile phone problems, mobile phone with a USB cable computer always do not, plug it on the prompt "Unrecognized USB device", do not know that we have encountered No. Such as:





In this case, the ADB also can not identify the mobile phone, it will not be in the eclipse of the Real machine development debugging, I do not like to use the Android virtual machine, although with bluestacks development debugging speed is OK, but through the virtual machine debug written out of the layout on the real machine run, or always not quite match. Later thought, I think there must be a way to make my phone through Bluetooth or WiFi network can connect!

Finally I was on the StackOverflow on the search a lap, haha, sure enough, as I imagined, completely without any data cable, through a common WiFi LAN can!

Here is the procedure (very simple):

1) first you need to confirm that your real machine and computer are in the same WiFi, and then download a terminal emulator app on your real machine, install it and open it, then enter the following command:

Susetprop service.adb.tcp.port 5555stop Adbdstart adbd



2) go back to your computer, run cmd with administrator privileges, switch to your Eclipse\sdk\platform-tools directory, and execute the command:

ADB Connect 
For example, the IP address of your real machine device is 192.168.2.107, then execute ADB connect 192.168.2.107:5555




3) now look at Eclipse's Devices window, does your An Zuojin device already appear in it? Finally run a try you know ~




Attach StackOverflow Reference Address: How can I connect to Android with ADB over TCP?

No data cable, WiFi can also connect Android real machine development debugging! Completely solve the "unrecognized USB device" and other data cable connectivity issues!

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: 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.