1. 程式人生 > >裝了eclipse ,但是安裝ADT的時候,報錯,錯誤內容如下

裝了eclipse ,但是安裝ADT的時候,報錯,錯誤內容如下

An error occurred while collecting items to be installed
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at https://dl-ssl.google.com/android/eclipse/plugins/com.android.ide.eclipse.adt_22.6.2.v201403212031-1085508.jar.

Read timed out

解決方案:

貌似是eclipse的bug,需要改動eclipse.ini。

改動如下:

新增:

-vm
碟符:/jdk路徑/..../bin/
java.exe
-startup plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
提問者評價
非常感謝,我用了更狠的方法,直接刪除了eclipse.ini後問題解決。