android Run不瞭解決方法

有時程序時木有問題的,前一次還能運行,某天打開卻發現控制臺報這樣的錯誤,

很多朋友都應該遇到過這樣的問題吧,以下給出相關處理方法的總結,萬試萬靈

情況如下:

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at D:\adt-bundle-windows-x86-20130219\sdk\platform-tools\adb.exe’ and
can be executed.

或者:

* daemon
not running. starting it now *
ADB server didn’t ACK
* failed to start daemon *

adb給XX助手占用瞭

出現這種問題,先確定adb的路徑有木有錯誤,

eclipse點擊windows–>Preferences–>android–>確認android sdk包目錄是否有錯,還有sdk包裡有木有adb.exe這個東東!

如果木有的話,

通常都是因為adb被占用瞭,因為現在現在普遍的用戶在手機上都裝瞭360手機助手這些軟件,

隻需要把相關的進程關掉vc3Ryb25nPiw8c3Ryb25nPtbYxvRlY2xpcHNlPC9zdHJvbmc+vLS/ySzT0MqxsrvW2Mb00rK/yShwczszNjDK1rv61vrK1sOyJiMyMDI4NDvEvtPQ07DP7CyxytXfx9ey4ik8L3A+CjxwPjxicj4KPC9wPgo8cD694r72t723qDo8L3A+CjxwPmN0cmwgJiM0MzsgYWx0ICYjNDM7ZGVsZXRlOrTyv6rIzs7xudzA7cb3LMfQu7u1vb34s8y0sL/aLNXSz8LT0MS+09DS1M/CvfizzCi/tMTjyta7+tewyrLDtNb6ytbByyzNqLOjtrzP4LbU06bT0LXEKTwvcD4KPHA+PHN0cm9uZz5rYWRiLmV4ZSA8L3N0cm9uZz461eK49srHv+G5tyzDsiYjMjAyODQ7yse1vMjruOjH+rXEPC9wPgo8cD48c3Ryb25nPnRhZGIuZXh0Ojwvc3Ryb25nPtXiuPbKx8za0ba1xDwvcD4KPHA+PHN0cm9uZz53YW5kb3VqaWEuZXhlOjwvc3Ryb25nPtXiuPbKx83jtrm81LXEPGJyPgo8L3A+CjxwPjxzdHJvbmc+c2prX2RhZW1vbi5leGU6PC9zdHJvbmc+1eK49srHvfDJvbXELNXm0MTE0dXSPQogPTxicj4KPC9wPgo8cD7S1MnPvs3Kx82os6O74dW808NhYmS9+LPMtcTSu9Cptqu2qyzI57n709DKssO00sXCqbXEu7Asv8nS1EDPws7SPC9wPgo8cD48YnI+CjwvcD4KPHA+PGJyPgo8L3A+CjxoMj48c3Ryb25nPmFkYsS+09DG9LavPC9zdHJvbmc+PC9oMj4KPHA+PGJyPgo8L3A+CjxwPsjnufvE48S+09Cwstew0tTJz9b6ytYsvs3T0L/JxNzKxzxzdHJvbmc+YWRixdyyu8bwwLQ8L3N0cm9uZz7ByyzI57n7yM7O8bncwO3G98nPPHN0cm9uZz7V0rK7tb1hZGIuZXhlPC9zdHJvbmc+tcS7sDwvcD4KPHA+xOO/ydLU1NpjbWTPwsrWtq/G9LavYWRiPC9wPgo8cD7PyMC0tb1hZGK1xMK3vrbPwjwvcD4KPHA+PGltZyBzcmM9″https://www.aiwalls.com/uploadfile/Collfiles/20140314/20140314092312237.jpg” alt=”\”>

復制下路徑

進入cmd

到所在sdk所在盤目錄下:輸入cd adb所在目錄

依次輸入abd kill-server 回車後,再輸入adb start-server

如圖:

啟動完成,這個時候可以看下任務管理器

說明adb服務已經啟動瞭,搞定,重啟eclipse即可

如果有什麼遺漏的,希望讀者給我指出,謝謝(*^__^*)

發佈留言