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

rev*_*ary 2 eclipse eclipse-plugin eclipse-marketplace eclipse-kepler

我已经下载了最新的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
Run Code Online (Sandbox Code Playgroud)

Sam*_*Sam 11

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


rev*_*ary 9

我终于弄清楚了:

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