標籤:android http 檔案 io html re
開啟MYECLIPSE.點擊功能表列的help ->my eclipse configure center .
然後add site 指向 https://dl-ssl.google.com/android/eclipse
報錯:
Bad update sites
com.genuitec.pulse2.client.common.launcher.BadUpdateSiteException
Software being installed: MyEclipse 8.6 (Profile) 2.0.0.0000000004 (com.poweredbypulse.profile-2427640-rmb-3047191 2.0.0.0000000004)
Missing requirement: Android Development Tools 22.0.5.v201307292155--757759 (com.android.ide.eclipse.adt.feature.group 22.0.5.v201307292155--757759) requires ‘org.eclipse.core.runtime 3.6.0‘ but it could not be found
Cannot satisfy dependency:
From: MyEclipse 8.6 (Profile) 2.0.0.0000000004 (com.poweredbypulse.profile-2427640-rmb-3047191 2.0.0.0000000004)
To: com.android.ide.eclipse.adt.feature.group 0.0.0
方法一:
- 首先關閉Myeclipse
- 在網頁http://developer.android.com/sdk/eclipse-adt.html 下載最新的ADT
解壓此壓縮檔
- 將features plugins兩個檔案夾
- 複製到myeclipse的安裝目錄裡的dropins檔案夾下
啟動myeclipse 這時候會讓你選擇sdk的路徑(最好提前裝好sdk)
- 這時選我們已經安裝過的android目錄:C:\Android\android-sdk
方法二:
- 將 ADT 檔案夾裝入 MyEclipse 8.6 安裝目錄下的 dropins 檔案夾。
- 先不要急著啟動 MyEclipse,接著我們要進入和 dropins 同級的 configuration 檔案夾,刪除 org.eclipse.update 檔案夾。
這步很重要!
- 進入 MyEclipse 選擇 ADT 。
- 在早期版本中我們把 plugins 和 features 覆蓋 MyEclipse 自身的檔案夾即可,而 8.x 版本則不接受覆蓋的方式了。但它提供了 dropins 檔案夾來存放自訂外掛程式。
而關鍵的刪除 org.eclipse.update 的操作是方式 MyEclipse 串連互連網來更新我們自訂的外掛程式,一旦檢查更新後我們的自訂外掛程式就會失效了。
Windows-Preference-Android-不能指向已安裝的SDK,報以上錯誤。只有指向ADT中的SDK才成功。