【小(xiǎo)編推薦】The connection to adb is ✘☆εdown, and a severe erβαφror has occured.問(wèn)題解決

2015-01-14   | φ♣;  發布者:梁國(guó)芳&n₽$≈®bsp;  |&nb×εα©sp;  查看(kàn)εδ∞:3320次

android

遇到(dào)問(wèn)題描述:

運行(xíng)android程序控制(zhì)台輸出

[2013-06-25 11:10:32 - MyWell∏>nessTracker] The connection to adb &‌ is down, and a severe errorα★× has occured.
[2013-06-25 11:10:32 - MyWeφ×llnessTracker] You must restart adb a×¶'&nd Eclipse.
[2013-06-25 11:10:32 - ©'§♣MyWellnessTracker] Please ensure tha✘☆t adb is correctly located at 'E:\Sα≠DK\platform-tools\adb.exe' and can be  ₩'executed.

有(yǒu)很(hěn)多(duō)種情況,所<₩以也(yě)有(yǒu)很(hěn)多(duō)解↔¶​>決方法:

1、任務管理(lǐ)器(qì) kill掉adb&₹×nbsp;或者重啓adb ser§ ver

2、查看(kàn)任務管理(lǐ)器(qì)沒有(yǒu)adb,猜測是(∞π≤♦shì)某個(gè)程序占用(yòng)了(✘" εle)adb端口

5037為(wèi)adb默認端口 查看(kàn)該端'★口情況如(rú)下(xià):

查看(kàn):cmd —— netstat -aon|findstrγφ> "5037"

 TCP    1>☆27.0.0.1:5037     •₩    0.0.0.0:0  ∞ ;           ←β LISTENING   &nφ™bsp;   5408
 TCP    127.0£¶.0.1:5037      φ₩    127.0.0.1:49542ε•δσ        ESTABLISHE↓®∏←D     5408

發現(xiàn)5408占用(yòng)了(le) 5037端口,↕π≠繼續查看(kàn)5408的(de)task:

查看(kàn): tasklist|findstr&≥&★nbsp;"5408"

tadb.exe        ↕δ           &¥&‍§nbsp;  5408 Console   &nbsβ≥λp;          ∞γ;      1  ‍ σ≠    2,980 K

發現(xiàn)是(shì)tadb.exe占用(yòng),直接在任務管φσ理(lǐ)器(qì)裡(lǐ)面kill掉或

taskkill /f /im tadb.exe

Tip:1)、tasklist 可(kě)以找到(dào)任務管理(lǐ)♠↑器(qì)所有(yǒu)進程

      &nb£ ←Ωsp;   2)、taskkilll /f /im 程序名1 '♣♦.exe /f /im 程序名2.exe .... 可(kě)以kil♦​l掉多(duō)個(gè)程序

3、重新開(kāi)啓adb

adb kill-server 
adb start-server