如何解决“读取已签名内容时出错”。在OSX中的Eclipse 4.4中安装ADT 23.0.2时出错 [英] How do I resolve an "Error reading signed content." error when installing ADT 23.0.2 in Eclipse 4.4 on OSX

查看:380
本文介绍了如何解决“读取已签名内容时出错”。在OSX中的Eclipse 4.4中安装ADT 23.0.2时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试在OSX中的Eclipse 4.4中安装Android Developer Tools(ADT 23.0.2)。当我这样做时,我会收到以下错误消息:


在org.eclipse.equinox.internal.p2.engine中发生错误。阶段.CheckTrust阶段。



会话上下文是:(profile = epp.package.standard,phase = org.eclipse.equinox.internal.p2.engine.phases.CheckTrust ,操作数=,action =)。



读取签名内容时出错



打开zip文件时出错


当我尝试从Android Repository直接安装它时,这个问题发生,当我尝试从一个文件安装它时,

解决方案

任何想法如何解决? >我有完全相同的问题,我发现,如果我一次安装一个组件(而不是一次全部),它的工作...但是后来一个星期左右,我尝试安装其他一些Eclipse软件从Luna存储库(它是C ++ Develope r工具),我得到了同样的错误。然后经过一番谷歌搜索,我发现这一点:尝试安装插件时出现eclipse错误



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

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

我不知道artifacts.xml文件是什么,但我很高兴可以再次安装东西,而无需从新的Eclipse安装开始。我希望你觉得这很有用。 : - )


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:

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

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

Error reading signed content.

error in opening zip file

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.

Any idea how to resolve this?

解决方案

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

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 {} \;

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. :-)

这篇关于如何解决“读取已签名内容时出错”。在OSX中的Eclipse 4.4中安装ADT 23.0.2时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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