标签:from key bsp 被占用 request netstat 解决 support 查找
启动monkeyrunner 或 uiautomatorviewer时报错:
09:54:05 E/adb: error: could not install *smartsocket* listener: cannot bind to
127.0.0.1:5037: 閫氬父姣忎釜濂楁帴瀛楀湴鍧?鍗忚/缃戠粶鍦板潃/绔彛)鍙厑璁镐
娇鐢ㄤ竴娆°? (10048)
09:54:05 E/adb:
09:54:05 E/adb: This application has requested the Runtime to terminate it in an
unusual way.
09:54:05 E/adb: Please contact the application‘s support team for more informati
on.
09:54:11 E/adb: could not read ok from ADB Server
09:54:11 E/adb: * failed to start daemon *
09:54:11 E/adb: error: cannot connect to daemon
09:54:11 E/ddms: ‘D:\Android\ANDROI~1\platform-tools\adb.exe,start-server‘ faile
d -- run manually if necessary
原因是:5037端口被占用
解决方法:1.查找5037被谁占用 netstat -ano | findstr "3037"
2.查看对应的是哪个任务 tasklist | findstr "4852"
3.启动任务管理器,结束此任务
4.重新打开monkeyrunner 或 uiautomatorviewer
cannot bind to 127.0.0.1:5037解决方法
标签:from key bsp 被占用 request netstat 解决 support 查找
原文地址:http://www.cnblogs.com/miaomaiomaio/p/7766131.html