Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to solve it? "Dex Loader SecurityException: Unable to find field for dex.jar"

All project worked fine

But suddenly

This problem occurs all project...

I can not run all project.

like image 757
ChangUZ Avatar asked Nov 14 '12 05:11

ChangUZ


3 Answers

This occurs after the recent update for the Eclipse Plugin(s) for Android. In Eclipse, use Window -> Android SDK Manager, and update your Android SDK Installation. The error message will disappear when you restart eclipse.

like image 85
aanno Avatar answered Oct 24 '22 14:10

aanno


Or, if you're like me and have both Eclipse 3.7.x and Eclipse 4.2.x installed, you will need to update the Android SDK Installation on both of them if you want both of them to work (despite the fact that I used the same installation directory).

Updating the Android SDK install is something of a beast in and of itself; I was having some issues installing API 17, but I found that clearing the SDK Manager cache alleviated those problems.

like image 3
paulrehkugler Avatar answered Oct 24 '22 13:10

paulrehkugler


I still had the issue following aanno's answer, so what I had to do after his step was to switch my workspace (File->Switch Workspace) to another folder, apply that and then immediately go back and re-select my original workspace location. Once I did that and eclipse returned, my workspace was back up and running.

like image 1
Bamerza Avatar answered Oct 24 '22 15:10

Bamerza