带有 android 插件的 Eclipse - 在“计算需求和依赖项”时被阻止

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9259370/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 17:42:56  来源:igfitidea点击:

Eclipse with android plugin - Blocked at "calculating requirements and dependencies"

androideclipse

提问by toshiro92

I have a problem during the installation of Android in Eclipse (Indigo and Helios, i've tried many different versions). When i search the plugin with the adress http://dl-ssl.google.com/android/eclipse/, or localy (with the archive), it doesn't work.

我在 Eclipse 中安装 Android 时遇到问题(Indigo 和 Helios,我尝试了很多不同的版本)。当我使用地址http://dl-ssl.google.com/android/eclipse/或本地(使用存档)搜索插件时,它不起作用。

It found the developpment tools, but it block at "calculating requirements and dependencies".

它找到了开发工具,但它阻止了“计算需求和依赖项”。

What's the problem ?

有什么问题 ?

采纳答案by Sebastian

I had exactly the same problem, eclipse was stuck at "calculating requirements and dependencies " for ages.I searched the web and found a lot of solutions but none worked for me. So i booted in safe mode with networking (press F8) then started eclipse. It installed in 2 minutes.My AVG antivirus was blocking eclipse from accessing the internet. Hope it works for you too

我遇到了完全相同的问题,eclipse 多年来一直停留在“计算需求和依赖关系”上。我在网上搜索并找到了很多解决方案,但没有一个对我有用。所以我在安全模式下通过网络启动(按 F8)然后启动 eclipse。它在 2 分钟内安装。我的 AVG 防病毒软件阻止了 eclipse 访问互联网。希望它也适用于你

回答by Edward Moffett

If you are installing from a local site, uncheck "Contact all update sites during install to find required software".

如果您是从本地站点安装,请取消选中“在安装过程中联系所有更新站点以查找所需软件”

回答by Nora Madjarova

I had the same issue with win 7 x64 and any version of Eclipse. It's because it cannot connect to the Internet, sometimes it's just because of your firewall blocking its Internet access. But most probably, if it isn't the case, you need to go to your Eclipse preferences, General -> Network Connections -> choose Direct from drop down menu => everything should be unchecked now. It was the only thing that helped me on Win 7 x64. I don't have such issues on Win XP.

我在 win 7 x64 和任何版本的 Eclipse 上都遇到了同样的问题。这是因为它无法连接到 Internet,有时只是因为您的防火墙阻止了它的 Internet 访问。但最有可能的是,如果不是这种情况,您需要转到 Eclipse 首选项,General -> Network Connections -> 从下拉菜单中选择 Direct => 现在应该取消选中所有内容。这是唯一对我在 Win 7 x64 上有帮助的东西。我在 Win XP 上没有这样的问题。

回答by Shailender Ahuja

Its causes because of these two reasons...

它的原因是因为这两个原因......

  1. Your antivirus is not authoring eclipse to download the require data.
  2. Or your firewall not allowing you to access downloading server.
  1. 您的防病毒软件没有编写 eclipse 来下载所需的数据。
  2. 或者您的防火墙不允许您访问下载服务器。

Solution:

解决方案:

  1. Simply open your antivirus panel "stop its working till the data is not installed".
  2. And if 1st one do not works then open firewall setting and make it off till the data is not installed...
  1. 只需打开您的防病毒面板“停止工作,直到未安装数据”。
  2. 如果第一个不起作用,则打开防火墙设置并将其关闭,直到未安装数据...

回答by user6081283

I had same problem, and I solve it. Let's check below list.

我有同样的问题,我解决了它。让我们看看下面的列表。

  1. Eclipse have blocked by your Anti-virus program or Fire wall

  2. If you have checked, then UNCHECK 'contact all update sites ...' item.

    Please click image button & refer it. (Marked with red line).

  1. Eclipse 已被您的防病毒程序或防火墙阻止

  2. 如果您已选中,则取消选中“联系所有更新站点...”项。

    请单击图像按钮并参考。(用红线标出)。

enter image description here

在此处输入图片说明

回答by Theodore Murdock

I had this happen when attempting to install an update after one of the update sites I had added to my Eclipse install went dead (the plugin provider changed the URLs for accessing their update site).

在我添加到 Eclipse 安装的更新站点之一失效后尝试安装更新时,我发生了这种情况(插件提供商更改了用于访问其更新站点的 URL)。

If it's due to a dead update site, it can often be solved by unchecking "contact all update sites during the install to find required software".

如果是由于更新站点失效,通常可以通过取消选中“在安装过程中联系所有更新站点以查找所需软件”来解决。

If you know which update site is causing the issue, and want to delete/disable it, or if you need access to other update sites during the install, you can temporarily disable or permanently remove update sites from Preferences->Install/Update->Available Software Sites.

如果您知道是哪个更新站点导致了问题,并且想要删除/禁用它,或者如果您在安装过程中需要访问其他更新站点,您可以从 Preferences->Install/Update-> 临时禁用或永久删除更新站点可用的软件站点。

回答by SkyOasis

I had a similar problem while attempting to install an Eclipse Plugin - ShellEd. It got stuck at the same point. As it points out the network problem, I simply disabled my WiFi connection while installing from a downloaded archive and the installation gets through.

我在尝试安装 Eclipse 插件 - ShellEd 时遇到了类似的问题。它卡在了同一点。当它指出网络问题时,我只是在从下载的存档安装时禁用了我的 WiFi 连接并且安装通过。

回答by Yury

I had the same problem on my Ubuntu. I guess you can solve your problem in the following way:

我在 Ubuntu 上遇到了同样的问题。我想您可以通过以下方式解决您的问题:

Load Eclipse. Click on Help > Install new software > Addand then for v3.7.x in the name box enter Indigo and in the URL box enter http://download.eclipse.org/releases/indigothen just follow the instructions to install the ADT plug-in and it will work.

加载 Eclipse。单击Help > Install new software > Add,然后对于 v3.7.x,在名称框中输入 Indigo,然后在 URL 框中输入,http://download.eclipse.org/releases/indigo然后按照说明安装 ADT 插件即可。

If you are using other versions of Eclipse you need to change the name and url to the following -

如果您使用的是其他版本的 Eclipse,则需要将名称和 url 更改为以下内容 -

v3.7.x Indigo - http://download.eclipse.org/releases/indigo
v3.6.x Helios - http://download.eclipse.org/releases/helios

回答by kellogs

Or just quit / relaunch eclipse, attempt to update it, fiddle with it until it will eventually install ADT

或者只是退出/重新启动 eclipse,尝试更新它,摆弄它直到它最终安装 ADT