Search code examples
androideclipsebuildpath

What is Android Dependencies? Remove it from Build Path, ClassNotFoundException occurs


I'm working on a team project. I included a .jar file in Build Path and committed to SVN. When I updated code in my working directory, a new folder appears in Eclipse called "Android Dependencies". If I let it be there, my program runs; If I remove it, my program reports a ClassNotFoundException.

Now how to fix this ClassNotFoundException?


Solution

  • Android Dependencies is a virtual folder where Eclipse shows what JAR files the project depends on. It's not a physical folder; you won't find it on your hard disk. And the folder is not checked in into Subversion.

    Do not delete that folder. You will destroy your project.

    To fix it, just revert to an older Subversion revision and check it in again.