我本身的作法,就是--進程裏關掉「wandoujiaXXXX」---啓動命令cmd+(adb kill-server)----重啓eclipse。 搞定.android
(下面的都是看的別人的解決辦法。能夠不看。)app
網上搜了不少種,可是對我來講都無論用。引發這個錯誤的緣由是有不少方面的。eclipse
1.軟件衝突。ui
首先是豌豆莢,嘗試關閉豌豆莢,重啓eclipse後嘗試run as android application....this
2.進程裏spa
關閉adb.exe,重啓eclipsecode
3.軟件更新server
android-sdk的更新進程
有個老外總結的比較全面:ip
Try below steps:
Close the Eclipse if running
Go to the Android SDK tools directory in Command Prompt
type adb kill-server
then type adb start-server
No error message is thrown while starting ADB server, then adb is started successfully.
Now you can start Eclipse again.
it worked for me this way, Eclipse should be closed before issuing these commands.
前提是你的adb已經配置好了。 若是這時候依然didn't ACK,那麼啓動任務管理器,看看是否有adb.exe.有的話關掉,再重複以上動做就能夠了。
還有一個比較容易忽視的很重要的問題,就是打開taskmanager的時候,並無adb.exe,若是這時候你認爲絕對不是adb的問題你就錯了。cmd打開dos,輸入adb kill-server,這個時候才能真正保證kill掉了adb.exe。切記切記!