I have modularised some simple classes into their own project for reuse elsewhere. These classes typically contain only fields and accessor methods (i.e. nothing Android specific).
They are later packaged up using ant
's jar task and stored in a Maven repository.
In an Android project, I've stored said jar
file into a libs
directory and added to the build path. On running the emulator however, I get a "class not found" exception relating to my package. Other third party libraries (such as GSon) are being picked up fine.
Are there any specific steps required to make a jar
file compatible with Android? (This reply seems to suggest otherwise). How can I debug this further?