I have just updated my android SDK tools to the newly released version (tools version 22, platform tools version 17)
java.lang.NoClassDefFoundError
I fixed it by going into Java Build Path > Order and Export tab.
Click everything in the list "Android Private Libraries".
Then "Project -> Clean". That fixed my issue.
Just over 1.5 days on this issue, solved my problem by reading Google+.
I ran into this on Android Studio. Since most of the answers here are for Eclipse, here's how to add the supportv4 library on Android Studio:
That's it.
I solve this with Android Tools->Add support Library
Solutions:
Had the same issue as StylezSoft. To clarify even further, below is my Java Build Path from Eclipse after that I solved the issue (by ticking the android-support-v4.jar
library)
Then I cleaned the Project (Project > Clean... > OK) and everything worked fine.
I had similar issue. But the problem was jar mismatch of "android-support-v4.jar" between Facebook SDK and my application. When I copied the same jar file from Facebook SDK to my application lib folder, the issue was resolved.