Simple question, but I couldn’t find anything about it. Is there a way to have my Android project include another Java project in the same workspace without recompiling a JAR for that library every time I change anything? Or can I automate JAR generation or something?
I’ve tried just adding the project to the build path and it makes the definitions visible in the Android app, but they’re not linked (NoClassDefFoundError at runtime).
Right click on project, which you want to be a library, “Properties”, “Android”, scroll to the bottom, toggle “Is library”, add to your main project’s build path.