0

My objective is to create a single distributable jar file for Android projects which includes a few other jar files. As I understand a "standard" jar file is not allowed to have other jar files inside, so guess I need to learn a trick here.

  • I have been trying to set up One-Jar for this, but I keep hitting issues. Are there any dev guides for using One-jar with Android projects (using Eclipse)?

  • Are there any other good alternatives out there I should look at?

Crocodile
  • 5,724
  • 11
  • 41
  • 67

1 Answers1

0

jarjar is pretty good at this. When you use it together with Maven its super easy to make a large collection of dependencies a single jar.

Although, there's nothing stopping you including multiple jars as dependencies in an Android project.

alex
  • 6,359
  • 1
  • 23
  • 21