Android Development-wifi Connection Eclipse Development Debugging environment

Source: Internet
Author: User

Android Development please stay away from the data cable!

The method is simple:

First, first you need to install a terminal emulator tool on your phone, here I recommend androidterm_1,0,48.apk, search the Big App Store will be downloaded to.

In the second step, open the Terminal tool on the phone and enter the command:

su //获取root权限 setprop service.adb.tcp.port 5555 //设置监听的端口,端口可以自定义,如5554,5555是默认的 stop adbd //关闭adbd start adbd //重新启动adbdThe third step, record the IP address of your phone, what do not know your phone's IP address? Settings--Find the connection wifi--long press open to see Properties, and then remember this IP address fourth step, on the PC side, that is, the Android development environment installed on the PC, open the type command adb connect < Just you recorded the IP address > 5555 If the connection succeeds it will show success ... Of course, the WiFi signal is not as stable as the data line, there will be time out of the situation, in addition to ensure that your phone IP and PCIP need to be in the same network environment.
When you publish your app at Eclipse, the console will have the following information:

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.