I have an Android project that’s using SubVersion. I’ve used Subclipse to import the project into my Eclipse Wordspace.
Now I have a problem with getting a:
java.lang.NoClassDefFoundError
The class I’m trying to import is located in the same package, and it’s not an activity, so I have not added it to the manifest file (though I did try with no effect).
It looks like an issue with classpath etc, but I’m not quite sure how to go about fixing this?
Any help is much appreciated, thanks!
Try to create a new android project, copy all your files there. Then make sure your class path are correct.
Lastly, Project>Clean. Make sure you didn’t import any R.
Edit:
If that doesn’t work, you may want to double check you fields, static blocks.
Will be thrown if your class failed at initialize.