"Original" Android through the use of ADB wireless

Source: Internet
Author: User

Develop Android program, always need Plug and unplug, USB port is broken, now ADB can be wireless network, link in the same LAN under the Android device

1. Link computers and mobile devices to the same wireless network

2. Install "ADB wireless" on Android device

3. Open the "ADB wireless" installed on your mobile device, press the button, turn green, and display a line of prompt text

4, open the terminal on the computer, enter the hint of the text, display connected to 192.168.2.170:5555, indicating that the link is successful

5. Enter the ADB devices display link to the device

The configuration for using the Wireless debug Android app is over.

Problems encountered

My own configuration process encountered a problem with the device is not authorized, but the device will not pop up let me authorize the prompt box, and finally found the following solution

1, install "HyperTerminal" on the mobile device to enter the following command

"Rm/data/misc/adb/adb_key";

2, on the computer into the user directory, copy adbkey.pub to the desktop, and through Bluetooth or other means to copy files to the mobile device/mnt/sdcard/directory

CP ~/.android/adbkey.pub ~/desktop/

3, open the terminal on the mobile device, execute the following command

"Stop adbd";

4, enter the/mnt/sdcard/directory, execute the following command

"Cat adbkey.pub >>/data/misc/adb/adb_keys";

5. Then execute the following command

"Start adbd".

Down in adb kill-server, adb start-server, ADB devices See if the connection is successful

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.