Resolves an issue where Android SDK runs could not install *smartsocket* Listener:cannot bind to 127.0.0.1:5037:

Source: Internet
Author: User

IONIC3 project, after adding the Android platform, Cordova run Android has the following issues:

Error:could not install *smartsocket* listener:cannot bind to 127.0.0.1:5037: typically each socket address (Protocol/network address/port) is allowed to be used only once. (10048)

This application have requested the Runtime to terminate it on an unusual.
Please contact the application's support team for more information.
Could not read OK from ADB Server
* Failed to start daemon *
Error:cannot Connect to Daemon

The specific reason is that port 5037 is occupied.

Open a command prompt and enter the following:

5037

Let's take a look at the specific description of the process

" PID eq 2880 "

Force exit process

5008 /F

and restart the ADB.

ADB start-server

When I run Cordova running Android, it's no problem.

This essay is my study work record, if there is doubt welcome in the following comments, reproduced please indicate the source.

If you have help, please move the mouse to the bottom right to a praise, your support is my biggest motivation.

Resolves an issue where Android SDK runs could not install *smartsocket* Listener:cannot bind to 127.0.0.1:5037:

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.