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


打開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。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章