"Android test" adb shell return after the error closed solution

Source: Internet
Author: User

Phenomenon 1: In the mobile phone connection USB for Monkey test process, and then start a cmd window input, adb shell returns after the error closed phenomenon. In some cases, this behavior occurs for some phones.

Symptom 2: When the phone is connected to USB for Eclipse debugging or installing the app, Eclispe console tip:Failed to install ***.apk on device ' 019417A3 ': Unable to open sync Conne ction!

Personally, the reasons for the two phenomena are the same.

The solution is as follows:

The first kind: Restart the computer, then put the phone on the computer, start eclipse

Second type: Mobile-settings-application-development-USB debug open and close once

The third type: Restart the phone,USB debugging Open and then close once.

The fourth type: under cmd try "adb kill-server" and then "adb start-server".

Personally, the second, third method is more practical.



"Android test" adb shell return after the error closed solution

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.