您的位置:首页 > 其它

could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037

2016-09-01 23:31 489 查看

问题:

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




查看进程的具体描述

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




强制退出进程

taskkill /pid 5008 /f


/f表示强制

重新启动adb就可以了

adb start-server


关闭adb 重启

adb kill-server
adb start-server


文/proud2008(简书作者)

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

著作权归作者所有,转载请联系作者获得授权,并标注“简书作者”。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ADBWIFI
相关文章推荐