Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I resolve an "Error reading signed content." error when installing ADT 23.0.2 in Eclipse 4.4 on OSX

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?

like image 349
loseeka Avatar asked Jul 17 '14 14:07

loseeka


2 Answers

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

like image 156
Nick Avatar answered Oct 23 '22 22:10

Nick


Your error occur by you deleted file in plugins You need: Delete file You search file artifacts.xml in folder ..\jee-neon\eclipse\configuration\org.eclipse.osgi (My folder is: C:\Users\hotli\eclipse\jee-neon\eclipse\configuration\org.eclipse.osgi) After you delete file content text this "android"

Next open file artifacts.xml in folder: .p2\pool (My folder: C:\Users\hotli.p2\pool) this is place content all plugin in Eclipse After you search this text "android" Delete all atribute content text "android"

Next save file and install plugin again Note: turn off your IDE eclipse before do it

like image 23
Sang9xpro Avatar answered Oct 23 '22 21:10

Sang9xpro