Order the steps
Put the steps from Kotlin source to running code in order.
- D8/R8 converts bytecode to DEX and shrinks it
- kotlinc compiles .kt files to JVM bytecode
- ART runs the DEX, compiling hot code with profiles
- The APK or AAB is installed
Choose an answer, then open Show answer below to check it.
Show answer
Answer: B A D C
- kotlinc compiles .kt files to JVM bytecode Kotlin's compiler targets JVM bytecode for Android.
- D8/R8 converts bytecode to DEX and shrinks it DEX is the format ART runs.
- The APK or AAB is installed DEX files are packaged with resources.
- ART runs the DEX, compiling hot code with profiles Interpretation, JIT and AOT, guided by profiles.