1

EDIT: I fixed it by not installing the NDK Development stuff. I don't know what it is, or what it does, but it fixed my problem.

I'm on Windows 64-bit, using Eclipse Helios, and trying to install the latest Android SDK. So far, I've been able to download and install the SDK Manager and successfully ran through its stuff.

The trouble comes in when I try to install inside of Eclipse (Help -> Install New Software). Every time I try to install using either the URL address (http://developer.android.com/sdk/installing/installing-adt.html) or the .zip file I get this error:

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=).
Comparison method violates its general contract!
Comparison method violates its general contract!

The internet doesn't seem to have any answers that I can find. Thanks!

4

3 回答 3

0

以管理员身份运行 eclipse 并安装 Android SDK。

您必须使用https://dl-ssl.google.com/android/eclipse/安装 SDK。

请参阅安装 ADT 插件

顺便问一下,您使用的是哪个版本的java?我认为该错误可能是与 Java 1.7 相关的 Eclipse 错误。

试试 JRE 1.6 看看它是否有效!

于 2012-10-10T18:28:31.900 回答
0

您需要以下工具来启动android开发 (1) Eclipse ide (2) ADT for eclipse (android plugin for eclipse) (3) Android SDK

您可以从以下链接http://codeglympse.blogspot.in/2012/10/installing-eclipse-and-android-sdk.html中简要了解这些步骤

于 2012-10-27T13:23:36.377 回答
0

谈话迟到了……

但是我在尝试从较旧的 Eclipse 版本(现在包括 Helios)安装包时发现了这个错误,这些包与 Android 完全无关。实际上,我花了一段时间才弄清楚所有这些 Eclipse 项目名称实际上是版本。在撰写本文时,Eclipse Kepler 是最新的,一旦我升级(几乎是全新安装)到 Kepler 并再次尝试安装软件包,一切正常。

希望这对某人有帮助。

于 2013-12-23T20:57:57.810 回答