Android ADB Server啟動失敗

來源:互聯網
上載者:User

標籤: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啟動失敗

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.