Unable to create Debug Bridge: Unable to start adb server: error:

来源:互联网 发布:mac 翻墙付费软件 编辑:程序博客网 时间:2024/06/05 06:50


打开AS时,提示Unable to create Debug Bridge: Unable to start adb server: error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048) This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon 'D:\Android\platform-tools\adb.exe,start-server' failed -- run manually if necessary


出错原因:adb的端口号被另外的程序所占用,从而导致不能正常使用。


解决办法:结束占用端口的程序。

具体:

1)命令窗口,输入  netstat -aon|findstr “5037”  ,找到端口5037,所对应的PID号;

2)打开任务管理器,根据得到的PID号查看对应的占用进程;

3)结束该占用进程,然后重启AS。

阅读全文
0 0