You must restart adb and Eclipse.

問題:

[2013-05-06 11:14:07 -HelloWorld] ------------------------------

[2013-05-06 11:14:07 -HelloWorld] Android Launch!

[2013-05-06 11:14:07 - HelloWorld]The connection to adb is down, and a severe error has occured.

[2013-05-06 11:14:07 -HelloWorld] You must restart adb and Eclipse.

[2013-05-06 11:14:07 -HelloWorld] Please ensure that adb is correctly located at 'D:\ProgramFiles\adt-bundle-windows-x86\sdk\platform-tools\adb.exe' and can be executed.

 

解決辦法:計算機右鍵/屬性/高級系統設置/環境變量/Path的值設置爲 

%ANDROID_SDK_HOME%/tools;%ANDROID_SDK_HOME%platform-tools,然後重新啓動eclipse

 

其中, ANDROID_SDK_HOME爲另外一個環境變量,值爲:

D:\ProgramFiles\android-sdk-windows(視具體情況而定)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章