Tag Archive | ADT

Fix (some) problems with libraries in the ADT 17 Plugin

Hey guys!

This will be a quick post. Did you update the ADT plugin to v17? Did you find that there are problems with libraries?

The solution (for some of those problems) is:

  1. If your jar libraries are in a lib folder, rename it to libs.
  2. Remove all your jar libraries from the Build Path of your project. Don’t need to add them again to the Build Path.
  3. In your libs folder, you should have just the jar libraries that your project is using. You can’t have different versions of a single library. This is because if you’ve noticed, Eclipse creates now a reference in the Build Path called “Android Dependecies” and he puts there all the jar files that are in your libs folder.
  4. Follow steps 1, 2 and 3 for each Android Library Project that your project is using.
  5. Make a project clean.

Hope it helps anybody! 😀

I found some help here: http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17


UPDATE: You can find official ¡nfo on Android Dependecies at this link: http://tools.android.com/recent/dealingwithdependenciesinandroidprojects