Compile jar to dex using D8 and linux terminal

556 Views Asked by At

I'm trying to compile jar to dex using D8 and linux terminal

D8 in sdk tools, look at screen.

I want to convert MySecretClass.jar to dex file. What commant I should to enter in terminal ubuntu.

D8 and MySecretClass.jar in the same dir

I tried everything to do it

enter image description here

1

There are 1 best solutions below

0
oleg23 On

The right command to Linux is:

java -jar d8.jar --release Secret.jar

it will build classes.dex file in the same directory.