• android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:


    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 ,在打开模拟器,因为有时候是这两个冲突了。

  • 相关阅读:
    Kubernetes实战总结
    Kubernetes实战总结
    Kubesnetes实战总结
    Kubernetes实战总结
    【转载】Nginx、HAProxy、LVS三者的优缺点
    Kubernetes实战总结
    【解决】 Streaming server stopped unexpectedly: listen tcp: lookup localhost on 114.114.114.114:53: no such host
    Kubernetes实战总结
    (转载)常用正则表达式大全——包括校验数字、字符、一些特殊的需求
    css选择器参考手册
  • 原文地址:https://www.cnblogs.com/wangcp-2014/p/5671450.html
Copyright © 2020-2023  润新知