The connection to adb is down, and a severe error has occured.
這個問題就是adb啓動不了了,在開發中很常見,總結一下可以從一下幾個方面解決:
方法一。
1.先把eclipse關閉.
2.在管理器轉到你的android SDK 的platform-tools下
3.鍵入adb kill-server ,如果adb關閉了會提示 server not running *
4.再輸入 adb start-server 如果不成功會提示 daemon not running. starting it now on port ***的,如果成功的話不提示任何語句的.這時再重新打開eclipse就可以正常運行模擬器的了.
方法二。
如果安裝了360,360也有個adb.exe進程,所以eclipse的adb.exe無法啓動,導致調試時adb連接不上。先關閉360安全衛士,第一次run,啓動adb.exe後,再啓動360安全衛士,就不會有問題了如果裝了豌豆莢也是用方法二解決