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: