未安装ADT插件到Eclipse - “违反合同”的错误信息 [英] Failure to install ADT plugin to Eclipse - 'violates contract' error message

查看:101
本文介绍了未安装ADT插件到Eclipse - “违反合同”的错误信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

昨天我对没有被发现安装了ADT插件在Eclipse时所需要的物品的问题。我打开了下载站点列表,勾选两个底部的人的名单,由于某种原因未选择上得到了解决这一问题。其中一个地址包含单词Mylyn的。 现在,当fetchingjavax.xml_1.3.4 ........ / Mylyn的/下降......。(圆点表示的其他地址部分),我有一个错误信息:

Yesterday I had a problem about required items not being found when installing the ADT plugin in Eclipse. I got around that by opening up the download sites list and ticking the two bottom ones on the list, which for some reason were not selected. One of these addresses contained the word "mylyn". Now, when "fetchingjavax.xml_1.3.4. ........ /mylyn/drops......" (dots indicate other address parts), I had an error message:

时发生内部错误。 比较法违背了一般的合同!

An internal error occurred during: "Install download0". Comparison method violates its general contract!

可以驳回,但安装似乎已停止。

which can be dismissed, but the installation appears to have stopped.

下一步做什么?

推荐答案

我有同样的问题,在Java 7 VM上运行靛蓝,发现使用Java 7 VM时Eclipse有一个问题,选择下载镜像。

I had the same problem with Indigo running on a Java 7 VM and found out that eclipse has a problem to select the download mirror when using a Java 7 VM.

这修正了日食的里程碑3.7.1(<一href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=352089">https://bugs.eclipse.org/bugs/show_bug.cgi?id=352089)

This Bug was fixed in eclipse milestone 3.7.1 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=352089)

下面是我的解决办法:

  1. 添加新vmargs不配置属性-Djava.util.Arrays.useLegacyMergeSort = true可的eclipse.ini
  2. 启动和更新Eclipse来至少靛蓝服务版本1(3.7.1)。
  3. 在卸下第一步
  4. 中列出的配置属性
  1. Add the new vmargs configuration property "-Djava.util.Arrays.useLegacyMergeSort=true" to eclipse.ini
  2. Start and update eclipse to at least Indigo Service Release 1 (3.7.1).
  3. Remove the configuration property listed on step one

这篇关于未安装ADT插件到Eclipse - “违反合同”的错误信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆