psklf
2017-10-26 11:38:49 +08:00
>Preview for D8 DEX compiler
>Android Studio 3.0 includes an optional new DEX compiler called D8. It will eventually replace the DX compiler, but you can opt-in to use the new D8 compiler now.
>DEX compilation directly impacts your app's build time, .dex file size, and runtime performance. And when comparing the new D8 compiler with the current DX compiler, D8 compiles faster and outputs smaller .dex files, while having the same or better app runtime performance.
>To try it, set the following in your project's gradle.properties file:
android.enableD8=true
>For more information, see the blog post about the D8 compiler.
Sounds good~