D8 replaced DX as the default dex compiler in Android Studio (and Android Gradle Plugin) 3.1. It runs faster than DX and produces smaller .dex files, but it’s also capable of some other nice stuff. In this post we’ll look at one of these: desugaring. We’ll explain what that is and what benefits it can…