I am getting this weird RunTime error. The classes compile easy on eclipse but when I run a class referring an external jar, its crashes with “unfortunately the app has to close”.
I know that I have to add the jars in the Java Build path. I have done that. It used to work perfectly earlier. Someone, I was doing a clean Android SDK installation again and since then it has failed to work. This is my Device API version is 15 (Android 4.0.3)
And, the error is some linkage error of not finding the class. It only happens when I refer an external jar, normal android app doesn’t crashes.
Take a look here:
http://android.foxykeep.com/dev/how-to-fix-the-classdefnotfounderror-with-adt-17