美文网首页android技术专栏
could not install *smartsocket*

could not install *smartsocket*

作者: 小王子威威 | 来源:发表于2017-10-17 13:58 被阅读22次

    问题:

    daemon not running. starting it now on port 5037

    error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: XXX(10048) could not read ok from ADB Server

    failed to start daemon error: cannot connect to daemon

    原因:

    基本是因为5037端口被占用

    解决:

    以下适用Windows 运命行下

    具体查看被占用的端口进程

    netstat -aon|findstr 5037

    1

    查看进程的具体描述

    tasklist /fi"PID eq 5008"5008为上步找到pid

    1

    2

    强制退出进程

    taskkill/pid5008/f

    1

    /f表示强制

    重新启动adb就可以了

    adbstart-server

    1

    关闭adb 重启

    adb kill-serveradb start-server

    1

    2

    文/proud2008(简书作者)

    原文链接:http://www.jianshu.com/p/0016e359a1ac

    著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。

    相关文章

      网友评论

        本文标题:could not install *smartsocket*

        本文链接:https://www.haomeiwen.com/subject/zolduxtx.html