1

I have multiple jar files I would like to compile into a single dex file.

To compile 1 jar into a dex, you can use the following command:

dx --dex --output="/tmp/dx.dex" "/tmp/input.jar"

Is there a way to compile multiple jars into a single dex file?

Thank you,

JesusFreke
  • 19,784
  • 5
  • 65
  • 68
April C.
  • 21
  • 1

1 Answers1

0

There are a bunch of answers on StackOverflow about how to combine multiple jars into a single jar (which you can then dex). Here's one of them: Easiest way to merge a release into one JAR file

Community
  • 1
  • 1
Buddy
  • 10,874
  • 5
  • 41
  • 58