未安装ADT插件到Eclipse - “违反合同”的错误信息错误信息、插件、合同、ADT

2023-09-05 08:23:41 作者:凄凉↘的夜彡

昨天我对没有被发现安装了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(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)

下面是我的解决办法:

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