如何解决一个"错误读取签署的内容和QUOT。在OSX在Eclipse 4.4中安装ADT 23.0.2时出错如何解决、错误、内容、QUOT

2023-09-07 08:58:15 作者:詠bù琂敗ヤ

我一直在试图在OSX上安装Android开发工具(ADT 23.0.2)在Eclipse 4.4。当我这样做,我得到以下错误信息:

I've been trying to install the Android Developer Tools (ADT 23.0.2) in Eclipse 4.4 on OSX . When I do, I get the following error message:

在org.eclipse.equinox.internal.p2.engine.phases.CheckTrust相位时发生错误。

An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.

会话背景是:(配置= epp.package.standard,相= org.eclipse.equinox.internal.p2.engine.phases.CheckTrust,操作数=,行动=)

session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).

读取错误签名的内容。

在开幕ZIP文件错误

此问题发生既当我尝试直接从Android库安装它,当我尝试从我本地下载的文件进行安装。

This problem happens both when I try to install it directly from the Android Repository, and when I try to install it from a file that I've downloaded locally.

不知道如何解决?

推荐答案

我有完全一样的问题,我发现,如果我安装的组件一次(而不是一大堆一次全部)​​,它的工作。 ..但随后一个星期左右后,我试图从月神库中安装一些其他的Eclipse软件(这是C ++开发工具),我得到了同样的错误。再经过一个位谷歌搜索我发现这一点:月食错误时尝试安装插件

I had exactly the same issue, and I found that if I installed the components one at a time (instead of the whole lot all at once) it worked... But then a week or so later I tried installing some other Eclipse software from the Luna repository (it was the C++ Developer Tools) and I got the same error. Then after a bit of Googling I found this: eclipse error when try install plugin

所以,如果你删除基本上所有的 artifacts.xml 你的eclipse目录下的文件,问题消失。下面是我使用的命令:

So basically if you delete all the artifacts.xml files under your eclipse directory the problem goes away. Here are the commands I used:

cd /opt/eclipse
find -name artifacts.xml -execdir rm {} \;

我真的不知道该artifacts.xml文件是什么,但我只是很高兴能够再次安装的东西,而不必从一个新的Eclipse开始安装。我希望对您有所助益。 : - )

I don't really know what the artifacts.xml files are for, but I am just happy to be able to install stuff again without having to start from a fresh Eclipse install. I hope you find this useful. :-)