標籤:listener 列表 adt connect images cells roi 佔用 lsp
啟動Android Stdio的時候報如下錯誤:
| 12345 |
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)could not read ok from ADB Server* failed to start daemon *error: cannot connect to daemon‘D:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools\adb.exe,start-server‘ failed -- run manually if necessary |
然後模擬器列表為空白了,找不到先前建立的模擬器了。然後百度查詢了下方法,記錄下。
原因是5037連接埠被佔用了。
解決方案:就是找到誰佔用了一個連接埠,然後把該程式關掉。
1、開啟cmd視窗,進入adb.exe所在的檔案夾目錄
如 cd D:\adt-bundle-windows-x86_64-20140624\sdk\platform-tools
2、netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5456
發現5456佔用了 5037連接埠,繼續查看5456的task,發現是360MobileLink.exe.如下所示
tasklist|findstr "5456"
360MobileLink.exe 5456 Console 1 23,240 K
接下來問題就好解決了,在工作管理員kill掉360MobileLink.exe ,運行android程式,ok .
Android ADB Server啟動失敗