How to enable TCPIP for Android Network debugging

Source: Internet
Author: User

1. connect to the USB data cable, Enable USB debugging, and use the Windows "run" command line method: (This method requires configuring the ADB environment variable, you can also directly go to the ADB tool directory and execute \ Android-SDK-Windows \ platform-tools \)

Adb tcpip 5555 (Port Number) ADB connect 192.168.1.199 (Android device IP address) adb usb back USB debugging

2. No data lines are required, and some machines can solve the "unable to connect to 192.168.1.199: 5555" error in method 1.
Install a shell-like tool such as "terminal Simulator" on an Android device. Run the following command (root permission required ):

TCP/IP mode: setprop service. ADB. tcp. port 5555 stop adbdstart adbdusb mode: setprop service. ADB. tcp. Port-1 stop adbdstart adbd

Reference: http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp

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.