1. 程式人生 > >as錯誤could not install smartsocket listener: cannot bind to 通常每個套接字地址(協議/網路地址/埠)只允許使用一次

as錯誤could not install smartsocket listener: cannot bind to 通常每個套接字地址(協議/網路地址/埠)只允許使用一次

Unable to create Debug Bridge: Unable to start adb server: error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: 通常每個套接字地址(協議/網路地址/埠)只允許使用一次。

意思就是adb的埠被佔用了。解決辦法如下:

1:在cmd中輸入:netstat -aon|findstr “5037”


2:cmd中輸入:tasklist|findstr “3948”


3:在到工作管理員中結束掉這個程序就可以了。重啟as即可