I am building an Android app. I have one project that is MyAndroid project. I have another project called MyModel. I define my data classes (like User) in MyModel.
When I try to create a new user in MyAndroid project, I get a NoClassDefFoundError
.
I have included MyModel in Java Build Path > Projects, and everything looks great at design time and compile time. But I get the error at runtime.
I am using Eclipse Kepler. I am using the Google Nexus emulator.
I assume I am missing some setting where I need to "reference" the MyModel project properly, so that the MyModel code gets built and deployed along with the MyAndroid project, to the emulator. However, I can't figure out how to do that.
Thanks for any help.