android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
问题原因:端口5037被占用
解决方案:
方式一:可以用cmd命令
C:UsersAdministrator>netstat-ano | findstr "5037" <<<<<-------------查看5037 被谁占用,然后杀掉
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:UsersAdministrator>tasklist| findstr "4524"
wandoujia2.exe 4524 Console 1 63,968 K <<<<<-------------- 杀掉占用端口的进程
C:UsersAdministrator>netstat-ano | findstr "5037"
方式二:打开任务管理器-》查看——》选择列。。-》勾选pid
找到占用5037的进程,然后选中结束进程,然后重新打开sdk
ps:最好先打开sdk ,在打开模拟器,因为有时候是这两个冲突了。