title: Execution failed for task ':app:transformClassesWithDesugarForDebug'
body: <p>I am using ionic for my mobile application. When I am using</p>
  
  <pre><code>ionic cordova build android
  </code></pre>
  
  <p>getting following error : </p>
  
  <pre><code>* What went wrong:
  Execution failed for task ':app:transformClassesWithDesugarForDebug'.
  &gt; com.android.build.api.transform.TransformException: java.lang.Runtime
  </code></pre>
  
  <p>How can I fix this build issue ?  I tried : </p>
  
  <pre><code>cordova clean android
  </code></pre>
  
  <p>But no luck issue is still existing. Please suggest one solution to fix this issue.</p>
  
  <p>Actual error : </p>
  
  <pre><code>Exception in thread "main" java.lang.IllegalArgumentException
      at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
      at com.google.devtools.build.android.desugar.DefaultMethodClassFixer$DefaultMethodFinder.visit(DefaultMethodClassFixer.java:471)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at com.google.devtools.build.android.desugar.DefaultMethodClassFixer.defaultMethodsDefined(DefaultMethodClassFixer.java:319)
      at com.google.devtools.build.android.desugar.DefaultMethodClassFixer.visitEnd(DefaultMethodClassFixer.java:88)
      at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source)
      at com.google.devtools.build.android.desugar.InterfaceDesugaring.visitEnd(InterfaceDesugaring.java:85)
      at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source)
      at com.google.devtools.build.android.desugar.LambdaDesugaring.visitEnd(LambdaDesugaring.java:150)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at org.objectweb.asm.ClassReader.accept(Unknown Source)
      at com.google.devtools.build.android.desugar.Desugar.desugarClassesInInput(Desugar.java:401)
      at com.google.devtools.build.android.desugar.Desugar.desugarOneInput(Desugar.java:326)
      at com.google.devtools.build.android.desugar.Desugar.desugar(Desugar.java:280)
      at com.google.devtools.build.android.desugar.Desugar.main(Desugar.java:584)
  
  :app:transformClassesWithDesugarForDebug FAILED
  </code></pre>
  
  <p>build.gradle file dependencies: </p>
  
  <pre><code>dependencies {
      implementation fileTree(dir: 'libs', include: '*.jar')
      // SUB-PROJECT DEPENDENCIES START
      implementation(project(path: ":CordovaLib"))
      compile "com.android.support:support-v4:24.1.1+"
      compile "com.google.android.gms:play-services-analytics:11.0.1"
      compile "com.android.support:support-v13:26.+"
      compile "me.leolin:ShortcutBadger:1.1.17@aar"
      compile "com.google.firebase:firebase-messaging:11.6.2"
      // SUB-PROJECT DEPENDENCIES END
  }
  </code></pre>