轉載之http://www.cnblogs.com/miya2012/archive/2012/06/05/2536028.html
網上搜了很多種,但是對我來說都不管用。引起這個錯誤的原因是有很多方面的。
1.軟件衝突。首先是豌豆莢,嘗試關閉豌豆莢,重啓eclipse後嘗試run as android application....
2.進程裏
關閉adb.exe,重啓eclipse
3.軟件更新
android-sdk的更新
有個老外總結的比較全面:
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.
但是對我不管用。我自己的做法,就是關掉豌豆莢-進程裏kill掉adb.exe-重啓eclipse-再run,就找得到設備,也可以正常啓動了。
-----------------------------------------------------
我的做法是嘗試了各種辦法沒有解決,卸載了豌豆莢,重新安裝了最新版本的豌豆莢後,想啓動ADB的時候,直接關閉掉豌豆莢就可以了。