title: Android Studio 4.0.0 Java 8 library desugaring in D8 and R8 Build Error
body: <p>I start using new update Android Studio 4.0.0 and following the <a href="https://developer.android.com/studio/releases/gradle-plugin#j8-library-desugaring" rel="noreferrer">enable support java 8 library desugaring in D8 and R8</a>:</p>
  
  <pre><code>compileOptions {
          // Flag to enable support for the new language APIs
           coreLibraryDesugaringEnabled true
          // Sets Java compatibility to Java 8
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
      kotlinOptions {
          jvmTarget = "1.8"
      }
  </code></pre>
  
  <p>and</p>
  
  <pre><code>dependencies {
      coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.6'
      ...
  }
  </code></pre>
  
  <p>I end up unable to build my application with the following error:</p>
  
  <pre><code>Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.
  </code></pre>
  
  <p>For more over:</p>
  
  <pre><code>&gt; Task :app:compileNoExtensionsDebugSources UP-TO-DATE
  
  &gt; Transform artifact desugar_jdk_libs_configuration-0.12.0.jar (com.android.tools:desugar_jdk_libs_configuration:0.12.0) with L8DexDesugarLibTransform
  Error: Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.
  
  &gt; Transform artifact databinding-common-4.0.0.jar (androidx.databinding:databinding-common:4.0.0) with DexingWithClasspathTransform
  AGPBI: {"kind":"error","text":"Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.","sources":[{}],"tool":"D8"}
  
  &gt; Transform artifact multidex-2.0.1.aar (androidx.multidex:multidex:2.0.1) with DexingWithClasspathTransform
  Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.
  
  AGPBI: {"kind":"error","text":"Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.","sources":[{}],"tool":"D8"}
  
  &gt; Transform artifact kotlin-android-extensions-runtime-1.3.72.jar (org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.3.72) with DexingWithClasspathTransform
  AGPBI: {"kind":"error","text":"Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.","sources":[{}],"tool":"D8"}
  Unsupported desugared library configuration version, please upgrade the D8/R8 compiler.
  </code></pre>
  
  <p>Do I missed any configuration here? How to fix this?</p>