2013-07-28 175 views
2

嗨,我有我的Eclipse中的問題和SDK(我已經下載並安裝最新的ADT包適用於Windows) 當我開始我的Eclipse我得到這個問題:此Android SDK需要Android Developer Toolkit 22.0.0或更高版本。當前版本是21.x.x.

This Android SDK requires Android Developer Toolkit version 22.0.0 or above. Current version is 20.0.0. 
please update your SDK tools to the latest version 

我曾嘗試選項:幫助 - >檢查更新 ,但沒有新的更新發現 後來我試試這個:

How to Update your ADT to Latest Version 

In Eclipse go to Help 
Install New Software ---> Add 
inside Add Repository write the Name: ADT (or whatever you want) 
and Location: https://dl-ssl.google.com/android/eclipse/ 
after loading you should get Developer Tools and NDK Plugins 
check both if you want to use the Native Developer Kit (NDK) in the future or check Developer Tool only 
click Next 
Finish 

但我不必須點擊下一步完成(後面,下一步和完成選項是灰色的) 然後我嘗試這種方法的選擇:

Go here download latest version of ADT-22.0.4.zip (*) 
At Eclipse > Help > Install new software... > Uncheck Contact all update sites during install to find required software (last bottom preference) that will avoid any unwanted delays during install. 
then at the same screen (top) Click Add > Archive > select downloaded ADT-X.X.X.zip > follow on screen installation steps 

但有同樣的問題時,它是完成安裝..沒有選擇點擊'下一步 ''

然後我試試這個:

Help – Install New Software in the ADT menu. 
Type https://dl-ssl.google.com/android/eclipse/site.xml in 「Work with:」 and Enter. 
You can see the 「Developer Tools」 item. 
Select it and click Next. 
Click Next one more. 
Click Finish accepting the terms of the license agreements. 
Click OK in the 「Security Warning」 window. 
Let the installer restart ADT after installing the tools. 

但在日是選擇有同樣的問題如上..可以點擊'下一步「」完成

http://i30.photobucket.com/albums/c316/caslor_1978/diafora/atdproblem_zps0d141b7b.jpg

檢查我的版本,它是最新的,但有問題

http://i30.photobucket.com/albums/c316/caslor_1978/diafora/atdproblem2_zps81de6317.jpg

我該如何解決這個問題?任何建議?

的Win7/32位/ Java SE開發KIT7更新25

+0

檢查您的Eclipse版本:Eclipse的赫利俄斯(版本3.6.2)或更高的ADT 22.0.4。 – Qberticus

回答

1

上週我有同樣的問題,我都試過了,但沒有任何幫助我。

最後只能通過重新下載整個ADT包來修復它。

+0

我已經下載了2次!但始終存在相同的問題。 如何刪除以前的安裝?我從我的控制面板檢查它添加刪除程序,並不存在...所以我刪除它手動刪除文件夾..是嗎? – user2626673

+0

**刪除應刪除它** _(移動到另一個地方也是一個好主意,因爲隨着更新的平臺將出現在舊版本中,一切都修復後快速交換將節省下載時間)_,**嘗試通過偏好/ android **添加SDK位置** –

+0

感謝我的朋友,我會嘗試這些並希望找到解決方案。 感謝您的有趣 – user2626673

0

點擊ADT,然後點擊關於ADT。你應該看到你的軟件信息。點擊ADT版本,然後點擊更新。

這對我有用。

+0

我試過你的選擇,但它說沒有更新。 –

0

你必須爲你的電腦下載android sdk。像32位或64位。嘗試重新下載並將android sdk放入其他文件夾。 以及將來的更新。先更新eclipse然後android android sdk。 希望這有助於

0

好吧,這是我如何解決它。

,因爲我以前安裝ADT(在2012年2月),因此從新解壓ADT新的eclipse.exe指着舊的SDK管理器中它發生在我身上。

所以我刪除屬於舊版本的以下文件夾:

  • 從C:\用戶\ * your_name * \,刪除.android.android-SDK。我忘了第二個文件夾的確切名稱,但基本上你必須從那裏刪除android相關的東西。

  • 還從工作區中刪除.metadata。您可以保留舊的項目文件夾。

3

http://developer.android.com/sdk/installing/installing-adt.html

啓動Eclipse,然後選擇

幫助>安裝新軟件。

點擊Add,在右上角。

在出現的名稱和位置選擇以下URL輸入ADT Plugin添加存儲庫對話框:

https://dl-ssl.google.com/android/eclipse/ 

點擊OK

如果您無法獲取該插件,請嘗試使用位置URL中的「http」而不是「https」(出於安全原因,首選https)。

在Available Software對話框中,選中Developer Tools旁邊的複選框,然後單擊Next

在下一個窗口中,您會看到要下載的工具列表。點擊Next。 閱讀並接受許可協議,然後單擊Finish

如果您收到安全警告,指出無法建立軟件的真實性或有效性,請點擊OK

安裝完成後,重新啓動Eclipse ...

相關問題