2011-04-21 67 views
1

我一直在試圖配置eclispe與ADT插件一起工作無濟於事。 Android教程也沒有幫助。 我已經在SDK中添加了新軟件安裝所需的相關站點。我收到此錯誤。試圖爲Android開發配置eclipse

An error occurred while collecting items to be installed 
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 
No repository found containing: osgi.bundle,javax.xml,1.3.4.v201005080400 
No repository found containing: osgi.bundle,org.apache.xerces,2.9.0.v201005080400 
No repository found containing: osgi.bundle,org.apache.xml.resolver,1.2.0.v201005080400 
No repository found containing: osgi.bundle,org.apache.xml.serializer,2.7.1.v201005080400 
No repository found containing: osgi.bundle,org.eclipse.draw2d,3.6.2.v20110128-0100 
No repository found containing: osgi.bundle,org.eclipse.emf.common,2.6.0.v20100914-1218 
No repository found containing: osgi.bundle,org.eclipse.emf.ecore,2.6.1.v20100914-1218 
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.change,2.5.1.v20100907-1643 
No repository found containing: osgi.bundle,org.eclipse.emf.ecore.xmi,2.5.0.v20100521-1846 
No repository found containing: osgi.bundle,org.eclipse.emf.edit,2.6.0.v20100914-1218 
No repository found containing: osgi.bundle,org.eclipse.gef,3.6.2.v20110110-2020 
No repository found containing: osgi.bundle,org.eclipse.jem.util,2.1.3.v201012070000 
No repository found containing: osgi.bundle,org.eclipse.wst.common.core,1.2.0.v200908252030 
No repository found containing: osgi.bundle,org.eclipse.wst.common.emf,1.2.3.v201012100400 
No repository found containing: osgi.bundle,org.eclipse.wst.common.emfworkbench.integration,1.2.3.v201012020600 
No repository found containing: osgi.bundle,org.eclipse.wst.common.environment,1.0.400.v200912181832 
No repository found containing: osgi.bundle,org.eclipse.wst.common.frameworks,1.2.0.v201003040800 
No repository found containing: osgi.bundle,org.eclipse.wst.common.project.facet.core,1.4.102.v201008170019 
No repository found containing: osgi.bundle,org.eclipse.wst.common.ui,1.1.500.v200911190730 
No repository found containing: osgi.bundle,org.eclipse.wst.common.uriresolver,1.1.401.v201004280700 
No repository found containing: osgi.bundle,org.eclipse.wst.sse.core,1.1.504.v201102160550 
No repository found containing: osgi.bundle,org.eclipse.wst.sse.ui,1.2.3.v201102102045 
No repository found containing: osgi.bundle,org.eclipse.wst.validation,1.2.201.v201101270100 
No repository found containing: osgi.bundle,org.eclipse.wst.xml.core,1.1.503.v201102102045 
No repository found containing: osgi.bundle,org.eclipse.wst.xml.ui,1.1.103.v201101122108 

幫助!!!!!!!!

+0

您是否按照[此處](http://developer.android.com/sdk/installing.html)中所述首先安裝了SDK啓動器包?你使用的是什麼操作系統和Eclipse版本? – 2011-04-21 05:18:36

+0

Vista Eclipse Classic 3.6.2,我也下載了壓縮的SDK ....之後,我覺得.exe會幫助所以我下載它試圖運行它,但它說它找不到我的JDK和JRE不足.. 。但我寫了並在這個相同的IDE中運行java代碼... – user718298 2011-04-21 12:33:15

+0

你可以在這裏發佈鏈接從你試圖下載軟件, 我有一個解決方案,以防萬一沒有任何幫助。只需將鏈接中的內容下載到您的計算機上,然後安裝新軟件並在您下載內容的文件夾中添加鏈接,請務必添加後綴「files:///」,例如「files:/// c :/用戶/下載/ yourFolder」 – Harry 2014-06-20 02:00:47

回答

1

我的猜測是您正在64位系統上運行並安裝了64位Java。由於我無法理解的原因,您需要安裝32位和64位Java。只有這樣您才能運行SDK starter包,然後安裝Eclipse的ADT插件。 (如果您已經安裝了該插件,請在開始前將其刪除。)