Start and close adb services (adb start-server and ADB kill-server)

Source: Internet
Author: User

1 common command-line tools in the Android SDK

There are many command-line tools in the <android SDK installation directory >\tools directory. Although general developers do not need to be fully aware of how these tools are used, it is important to understand some of the basic uses of these tools to assist in future development efforts. This section describes how to use several common command-line tools, including ADB, Android, and Mksdcard. Before using these command-line tools, it is recommended that the reader add the <android SDK installation directory >\tools directory to the PATH environment variable so that the tools can be used in any directory.

2 starting and shutting down the ADB service (ADB start-server and ADB kill-server)

After testing by the author, the ADB service is possible (this service can be found in the Windows process after the simulator has been running for a while, and the service is used to perform an exception for the emulator or a real-time service connected via a USB cable). The ADB service needs to be re-closed and restarted. Of course, restarting eclipse may solve the problem, but that's a bit of a hassle. If you want to close the ADB service manually, you can use the following command:

  1. ADB kill-server

After you close the ADB service, use the following command to start the ADB service:

  1. ADB start-server

Reference Address: http://book.51cto.com/art/201006/206791.htm

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.