Unable to enter ADB shell to prompt for unknown host service workaround

Source: Internet
Author: User

Today monkey's simple environment configuration, ready to start monkey, but in the Command Control window input Unable to enter the ADB shell, prompted the error "Unknown host service" find the data found that because the computer's 5037 port is occupied by a program (ADB in ANDROID_SDK requires 5037 ports), then we need to turn off this program.  Start..... 1. First you need to find the program, using the command Netstat-ano |find "5037" to see the process PID that occupies 5037 ports, for example, the last column shown 808 represents, a process with a PID of 808 occupies 5037 ports. 2. Two ways to see which process, one is to continue through the command TASKLIST/FI "PID eq 808 (808 is the PID number, everyone according to their own query out of the process PID replacement), another intuitive way is to ctrl+alt+delete Open the Task Manager, in the service list to view the PID 808 of the corresponding process3. It seems that 360MobileLink.exe this process is disruptive, we can end the process in the Task Manager, you can also use the command to kill it, enter the Taskkill/pid 808/f (808 is the PID number, everyone according to their own query process PID replacement, note the space between 808 and/F.If you can not kill, then go to manually forcibly uninstall the program it. 4. Finally, restart ADB. ~~~adb kill-server close adb service adb start-server start adb service

Unable to enter ADB shell to prompt for unknown host service workaround

Related Article

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.