ADT 更新遇到的一個BUG解決方案【轉】

來源:互聯網
上載者:User

標籤:

蠻長一陣子沒有更新ADT,正好Android 5.0 Release有一段時間,就順勢更新:

 

當按下Next後進行更新ADT 23.0.4 途中卻發生如下圖的問題:

An error occurred while collecting items to be installedsession context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).No repository found containing: osgi.bundle,com.android.ide.eclipse.adt,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.base,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,23.0.4.1468518No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt.feature,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms.feature,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger.feature,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer.feature,23.0.4.1468518No repository found containing: osgi.bundle,com.android.ide.eclipse.ndk,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ndk.feature,23.0.4.1468518No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.traceview.feature,23.0.4.1468518

經過資料尋找的結果,其中解決方式就是取消Contact all update sites during install to find required software

更新過程中這步驟是不需要的,更新過程中只要針對列出的更新來進行升級版本就可以,不需要再去查詢其他月台的資訊,接下來按Next進行下一步,等待更新的過程中會跳出安全性警告,google未對這些套件進行簽章動作,所以會跳出警告,這可以跳過這個警告直接按下OK同意它。

完成後會需要重新啟動Eclipse,按下Yes

重新啟動Eclipse後我們確認一下更新是否成功,按下關於Eclipse

按下Installation Details查詢已安裝的細節:

確認Installed Software中的ADT相關套件的Version版本與你想要更新的版本是否正確:

如果一切都沒問題,按下Close完成升級的動作!

ADT 更新遇到的一個BUG解決方案【轉】

聯繫我們

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