This generates classes.dex in the current directory.
--lib : Provides the path to the Android library JAR for your target API level. d8.jar download
If your build script used dx.jar --dex , here is the migration mapping: This generates classes
However, as Android apps grew more complex and the Java language evolved, the DX compiler began to show its age. It was slow and struggled with modern Java features. here is the migration mapping: However