Home » Android » What does the "Incremental Dex" option in Android Studio do?

What does the "Incremental Dex" option in Android Studio do?

Posted by: admin April 23, 2020 Leave a comment

Questions:

In Android Studio, when you select a module in Project Structure window, under Properties tab there is an option to set “Incremental Dex” to true or false. What exactly does it do, and when should it be used?

How to&Answers:

It is similar to incremental build, which re-builds its outputs by only building if an input file has been modified. It is useful to reduce the build time.

“only the dex files of modified modules are recomputed and repackaged into the APK file”
taken from https://developer.android.com/tools/building/multidex.html