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