1

I just updated to Rev 17 SDK Tools and Rev 11 SDK Platform-tools and now none of my apps work. Every single referenced Library that I have gives the error:

NoClassDefFoundError

Anyone know why? I deleted and reinstalled the platform and tools but still doesn't work.

easycheese
  • 5,859
  • 10
  • 53
  • 87

1 Answers1

3

From here (comment):

Libraries in SDK 17 - android

Directs you to here:

http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17

and the answer is in the comment

If you have references to jars that are not in the ‘libs’ folder, for example if you use ‘classpath variable’, you can resolve the NoClassDefFoundError issue with the new ADT 17 by exporting the references.

To export the references: simply go to “Properties > Java Build Path > Order and Export”, and check all the references you want exported.

Community
  • 1
  • 1
easycheese
  • 5,859
  • 10
  • 53
  • 87