關於android:The connection to adb is down, and a severe error

來源:互聯網
上載者:User

點擊項目run,報了這樣的錯,前幾天都好好的: [2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] ------------------------------ [2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Android Launch![2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] The connection to adb is down, and a severe error has occured.[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] You must restart adb and Eclipse.[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] Please ensure that adb is correctly located at 'D:\adt-bundle-windows-x86\sdk\platform-tools\adb.exe' and can be executed.   其實很簡單,你要改一下系統的環境變數path,由'D:\adt-bundle-windows-x86\sdk\tools改成了'D:\adt-bundle-windows-x86\sdk\platform-tools 你查看\tools目錄發現多了一個adb_has_moved.txt檔案,裡面明確告訴了原因:The adb tool has moved to platform-tools。原來從SDK R8以後,SDK需要有一個新的組件支援,這個組件叫做Platform-tools,adb已經遷移到這個目錄下去了。並且 adb_has_moved.txt檔案也說明需要在PATH環境變數中增加\platform-tools路徑,以便能夠從任何地方啟動adb.exe。  然後重啟電腦,啟動eclipse,點擊run,又報如下錯誤:[2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1]  ADB server didn't ACK [2013-09-14 15:27:13 - QualityPicture_Client1.3.1.9.7.1] * failed to start daemon *   於是我就百度,參考了該篇文章(http://www.cnblogs.com/longqi293/archive/2012/06/19/2554801.html點擊開啟連結)。可是我沒有出現那樣的情況。但我還是照著上面的操作,殺死服務,然後啟動服務。然後我就重啟一下,就可以了。   還有人說按如片的方法:

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.