Class not found error after updating ADT and Android sdk tools to latest ver 22

Problem occurs for me with projects which use Support library.

This thread helped me a lot to resolve ClassNotFoundException issue with ADT 22:

https://code.google.com/p/android/issues/detail?id=55304

The idea is to enable Android Private Libraries on Java Buils Path | Order and Export

Nikolay’s workaround works for me:
For all projects (app and library):

  1. Right click the project, and choose Properties
  2. Go to Java Build Path-Order and Export.
  3. Tick ‘Android Private Libraries’
  4. (Optional) Clean all projects if necessary

Thanks, Nikolay.

Leave a Comment