标签:
蠻長一陣子沒有更新ADT,正好Android 5.0 Release有一段時間,就順勢更新:
當按下Next
後進行更新ADT 23.0.4 途中卻發生如下圖的問題:
An error occurred while collecting items to be installed session 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.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.base,23.0.4.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.ddms,23.0.4.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.gldebugger,23.0.4.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.hierarchyviewer,23.0.4.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.traceview,23.0.4.1468518 No repository found containing: osgi.bundle,overlay.com.android.ide.eclipse.adt.overlay,23.0.4.1468518 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.adt.feature,23.0.4.1468518 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ddms.feature,23.0.4.1468518 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.gldebugger.feature,23.0.4.1468518 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.hierarchyviewer.feature,23.0.4.1468518 No repository found containing: osgi.bundle,com.android.ide.eclipse.ndk,23.0.4.1468518 No repository found containing: org.eclipse.update.feature,com.android.ide.eclipse.ndk.feature,23.0.4.1468518 No 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
完成升級的動作!
标签:
原文地址:http://www.cnblogs.com/popeylj/p/4662084.html