https://developer.android.com/tools/sdk/eclipse-adt.html
2.adt在線安裝
elipse -->help-->install new software
輸入以下網址
https://dl-ssl.google.com/android/eclipse/
或者:
http://dl-ssl.google.com/android/eclipse
獲取安裝檢查依賴環境之後就可以安裝了。
3.安裝ADT的時候,提示
“Cannot complete the install because one or more required items could not be found.Software being installed:
…………的問題是因爲eclipse依賴關係組件缺失。
解決方案:
啓動eclipse,點擊window—>preferences—>install/update—>available
software sites,點擊Add,把如下幾個網址添加過去
Eclipse GEF
http://download.eclipse.org/tools/gef/updates/releases/
Eclipse
EMF
http://download.eclipse.org/modeling/emf/updates/releases/
Eclipse GMF
http://download.eclipse.org/modeling/gmf/updates/releases
Eclipse Webtools
http://download.eclipse.org/webtools/updates/
Google eclipse Plugin
http://dl.google.com/eclipse/plugin/?
上面的問號爲當前adt支持的最低eclipse配置環境,依據不同情況來解決。
4.eclipse中已安裝ADT的卸載方法
打開eclipse後,Help->About Eclipse SDK->Installation Details,把已安裝的ADT選中後,點擊Uninstall卸載即可(需要卸載多個文件)。
5.ADT組件下載ADT後本地安裝(可安裝當前eclipse版本適應的ADT,根據自己來決定安裝具體ADT版本)
1.網上下載ADT-14.0.0.zip文件,保存到eclipse目錄下
2.啓動eclipse後,點擊Help > Install New Software,打開install窗口後,點擊按鈕Add打開Add Site窗口,Name(輸入ADT),Location(選擇到eclipse所在目錄且目錄下存在adt離線安裝。),點擊OK
3.選中所有待安裝,按照提示安裝即可。
參考:http://hj198703.iteye.com/blog/1316991