Adb connection Error: the remote host forces an existing connection to be closed.

Source: Internet
Author: User

The eclipse console always displays the following Error "Adb connection Error: the remote host forces an existing connection to be closed"

 

Cause: This is caused by ddms calling adb. after some searches, we found that this is a limitation of adb in windows, or a bug. when the number of processes simultaneously running on the mobile phone is greater than 64, the adb will crash. the deeper reason is that the maximum number of handles supported by windows API WaitForMultipleObjects is MAXIMUM_WAIT_OBJECTS, that is, 64.

 

Solution: http://code.google.com/p/android/issues/detail? Id = 12141

 

 

Download the corresponding adb.exe file and use it to replace the adb.exe file in the platform/toolsdirectory of the sdk on your machine. In this way, the problem can be solved perfectly.

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.