eclipse kepler"无法安装远程市场位置"

时间:2013-09-04 03:13:01

标签: eclipse eclipse-plugin eclipse-kepler eclipse-marketplace

我已经下载了最新的eclipse版本,eclipse kepler。

但是当我尝试在eclipse中访问Marketplace或尝试为Android安装ADT插件时,它给了我这个让我疯狂的令人毛骨悚然的错误:

Cannot open Eclipse Marketplace
Cannot install remote marketplace locations: Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Unable to read repository at http://marketplace.eclipse.org/catalogs/api/p.
Connection reset
Connection failed

This is most often caused by a problem with your internet connection. Please check your internet connection and retry.
Connection reset

4 个答案:

答案 0 :(得分:10)

请将下面的行放到eclipse.ini中,最后它对我有用 -Djava.net.preferIPv4Stack =真

答案 1 :(得分:8)

我终于弄明白了:

Avira Anti-Virus软件阻止了eclipse的网络请求。 在停用Anti-Virus中的“启用Web保护”后, 愚蠢的Eclipse能够自我更新。

答案 2 :(得分:2)

如果您坐在公司网络后面,它可能会过滤掉来自eclipse的请求。在我的手机上切换到3G使它对我有用。

答案 3 :(得分:1)

在我偶然发现这个链接之前,这让我很沮丧:

https://www.eclipse.org/forums/index.php/t/783720/

它表示清除网络连接中的SOCKS条目并处于手动Active Provider中。

SOCKS条目已经很清楚,但再次点击清除之后,它只是值得一试。