However, Android uses a modified form of Java called Dalvik. Dalvik is register based, which is better for mobile devices.
How does an android compiler work?
The build process of a typical Android app module. … The compilers convert your source code into DEX (Dalvik Executable) files, which include the bytecode that runs on Android devices, and everything else into compiled resources. The APK Packager combines the DEX files and compiled resources into a single APK.
What does the DEX compiler do?
d8 is a command line tool that Android Studio and the Android Gradle Plugin use to compile your project’s Java bytecode into DEX bytecode that runs on Android devices, and it allows you to use Java 8 language features in your app’s code.