SecurityException: Unable to find field for dex.jar

Serkan picture Serkan · Nov 20, 2012 · Viewed 15k times · Source

How do I solve this error? I tried:

  1. Refreshing the project, and rebuilding.

  2. Cleaning the project, and rebuilding.

  3. Closing and reopening the project, and rebuilding

  4. Deleting the project (but not deleting the files — that's a checkbox on the project deletion confirmation dialog), and re- importing it as an existing project, and cleaning and rebuilding.

  5. Deleting the project, deleting the .project and .classpath files in the project, and creating a new project using my files as existing sources.

None of these worked. How do I solve this problem?

Answer

abc picture abc · Dec 12, 2012

update platform sdk version to rev 21 it can be solved. I updated platform SDK from rev 20 to rev 21, and restart eclipse, it's solved.