码迷,mamicode.com
首页 > 其他好文 > 详细

ADT 更新遇到的一个BUG解决方案【转】

时间:2015-07-20 18:52:27      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:

蠻長一陣子沒有更新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完成升級的動作!

ADT 更新遇到的一个BUG解决方案【转】

标签:

原文地址:http://www.cnblogs.com/popeylj/p/4662084.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!