CD c:\WINDOWS\system32\
Netstat-an
Android SDK startup error error:could not install *smartsocket* listener:cannot bind to 127.0.0.1:5037:
Problem cause: Port 5037 is occupied
Solution:
Mode one: You can use the cmd command
C:\users\administrator>netstat-ano | Findstr "5037" <<<<<-------------view 5037 by WHO, then kill
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4524
TCP 127.0.0.1:5037 127.0.0.1:10265 established 4524
TCP 127.0.0.1:5037 127.0.0.1:10274 established 4524
TCP 127.0.0.1:5037 127.0.0.1:12382 established 4524
TCP 127.0.0.1:5037 127.0.0.1:12513 established 4524
TCP 127.0.0.1:5037 127.0.0.1:12650 established 4524
TCP 127.0.0.1:10265 127.0.0.1:5037 established 4524
TCP 127.0.0.1:10274 127.0.0.1:5037 established 2228
TCP 127.0.0.1:12382 127.0.0.1:5037 established 9028
TCP 127.0.0.1:12513 127.0.0.1:5037 established 4524
TCP 127.0.0.1:12650 127.0.0.1:5037 established 4524
TCP 127.0.0.1:14132 127.0.0.1:5037 syn_sent 4524
C:\users\administrator>tasklist| Findstr "4524"
Wandoujia2.exe 4524 Console 1 63,968 K <<<<<--------------kill the occupied end The process of the mouth
C:\users\administrator>netstat-ano | Findstr "5037"
Mode two: Open Task Manager-"View--" select column. -"Select PID
Locate the process that occupies 5037, and then select End Process, and then reopen the SDK
PS: It's a good idea to open the SDK before opening the emulator, because there are times when the two conflicts.
Windows cmd view port information