MyEclipse8.5 無法安裝ADT解決辦法

來源:互聯網
上載者:User

標籤: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

方法一:

  1. 首先關閉Myeclipse   
  2. 在網頁http://developer.android.com/sdk/eclipse-adt.html 下載最新的ADT
    解壓此壓縮檔
  3. 將features plugins兩個檔案夾
  4. 複製到myeclipse的安裝目錄裡的dropins檔案夾下
    啟動myeclipse 這時候會讓你選擇sdk的路徑(最好提前裝好sdk)
  5. 這時選我們已經安裝過的android目錄:C:\Android\android-sdk

方法二:

  1. 將 ADT 檔案夾裝入 MyEclipse 8.6 安裝目錄下的 dropins 檔案夾。
  2. 先不要急著啟動 MyEclipse,接著我們要進入和 dropins 同級的 configuration 檔案夾,刪除 org.eclipse.update 檔案夾。
    這步很重要!
  3. 進入 MyEclipse 選擇 ADT 。
  4. 在早期版本中我們把 plugins 和 features 覆蓋 MyEclipse 自身的檔案夾即可,而 8.x 版本則不接受覆蓋的方式了。但它提供了 dropins 檔案夾來存放自訂外掛程式。
    而關鍵的刪除 org.eclipse.update 的操作是方式 MyEclipse 串連互連網來更新我們自訂的外掛程式,一旦檢查更新後我們的自訂外掛程式就會失效了。

 

Windows-Preference-Android-不能指向已安裝的SDK,報以上錯誤。只有指向ADT中的SDK才成功。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.