2011-12-13 54 views
0

我真的很討厭問這個問題,因爲它好像被問過很多次,但沒有任何回覆對我有幫助。OSX - Eclipse - ADT

我在我的MacBook上運行OSX 10.7.2(64位)。我只是做了一個乾淨的安裝,新的硬盤,並從10.6.x升級。

我想讓Eclipse備份和運行,但目前爲止沒有太多運氣。我之前已經安裝和使用過Android工具,所以我不會錯過任何明顯的我不認爲的東西。我已經使用sdk/tools/android實用程序安裝了所有平臺/工具,並且現在正嘗試在Eclipse中通過Install New Software安裝ADT。我第一次嘗試Eclipse 3.7.1(靛藍 - 64位),並沒有奏效。我刪除了它,並安裝了Helios(3.6.x - 32位),並且仍然出現相同的錯誤。

我也嘗試從我從Google下載的檔案中安裝ADT,而不是存儲庫URL(我也嘗試過)。

Eclipse中看到包裝(4)無論哪種方式,我能夠接受本服務條款的項目,但後來我得到一個安裝錯誤:

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,org.eclipse.jem.util,2.1.3.v201012070000 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.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

有沒有人有什麼建議嗎?我降級了版本和體系結構,嘗試從回購和包安裝,並已完全刪除並重新添加了其他兩個相關回購站(Helios & Eclipse更新)。

編輯,對於具體步驟:

  1. 的Eclipse>添加軟件。
  2. 使用於:「Google - http://dl-ssl.google.com/android/eclipse/
  3. 選中「Developer Tools」組。
  4. 選擇下一步,然後等待它計算依賴關係。
  5. 選擇下一步,接受所有條款,點擊「完成」。
  6. 彈出「安裝軟件」,我看到它從Eclipse站點獲得一個.jar和一個.xml文件。

...

  1. 而且,它看起來像它只是工作。說真的!? 6或7次嘗試,現在它工作?

也許他們的回購下跌或東西..

+1

您能否解釋更多關於在Eclipse中通過安裝新軟件安裝ADT時無法正常工作的問題? – yorkw

+0

@ yorkw:我已經編輯了這個問題,當我踏着它時,它神奇地決定工作。奇怪。 – Josh

回答

0

我繼續嘗試登錄的每一步我做的,它奇蹟般地工作。他們的回購一定是失敗了或者以前的嘗試。