EddyVerbruggen / cordova-plugin-googleplus

:heavy_plus_sign: Cordova plugin to login with Google Sign-In on iOS and Android
566 stars 625 forks source link

Build fail: Conflict googleplus and admobfree #483

Open hazemalsaied opened 6 years ago

hazemalsaied commented 6 years ago

Hello,

Every time i add cordova-plugin-googleplus build fails. I've desactivated all the plugins and checked if there is a conflict and i've discovered that it exists between cordova-plugin-googleplus and cordova-plugin-admobfree.

Notice:

I've tried to modifiy android project.properties by unifying com.google.android.gms class versions but it didn't work!

Ionic infos:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0

global packages:

cordova (Cordova CLI) : 8.0.0

local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 7.0.0
Ionic Framework    : ionic-angular 3.8.0

System:

Node  : v6.11.5
npm   : 3.10.10
OS    : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Build fail message

:CordovaLib:preBuild UP-TO-DATE

:CordovaLib:preDebugBuild UP-TO-DATE

:CordovaLib:compileDebugAidl

UP-TO-DATE :CordovaLib:compileDebugRenderscript UP-TO-DATE :CordovaLib:checkDebugManifest UP-TO-DATE :CordovaLib:generateDebugBuildConfig UP-TO-DATE :CordovaLib:prepareLintJar

UP-TO-DATE :CordovaLib:generateDebugResValues UP-TO-DATE :CordovaLib:generateDebugResources UP-TO-DATE :CordovaLib:packageDebugResources UP-TO-DATE :CordovaLib:platformAttrExtractor UP-TO-DATE :CordovaLib:processDebugManifest

UP-TO-DATE :CordovaLib:processDebugResources UP-TO-DATE :CordovaLib:generateDebugSources UP-TO-DATE :CordovaLib:javaPreCompileDebug UP-TO-DATE :CordovaLib:compileDebugJavaWithJavac

UP-TO-DATE :CordovaLib:processDebugJavaRes NO-SOURCE :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE :app:preBuild UP-TO-DATE :app:preDebugBuild

:app:compileDebugAidl

UP-TO-DATE :CordovaLib:packageDebugRenderscript NO-SOURCE :app:compileDebugRenderscript

UP-TO-DATE :app:checkDebugManifest UP-TO-DATE :app:generateDebugBuildConfig UP-TO-DATE :app:prepareLintJar UP-TO-DATE :app:generateDebugResValues UP-TO-DATE :app:generateDebugResources UP-TO-DATE :app:mergeDebugResources

:app:createDebugCompatibleScreenManifests UP-TO-DATE :app:processDebugManifest

:app:splitsDiscoveryTaskDebug UP-TO-DATE :app:processDebugResources

:app:generateDebugSources :app:javaPreCompileDebug

:app:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details. Note: /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/src/main/java/io/card/cordova/sdk/CardIOCordovaPlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details.

:app:compileDebugNdk NO-SOURCE :app:compileDebugSources

:CordovaLib:mergeDebugShaders UP-TO-DATE :CordovaLib:compileDebugShaders UP-TO-DATE :CordovaLib:generateDebugAssets UP-TO-DATE :CordovaLib:mergeDebugAssets UP-TO-DATE :app:mergeDebugShaders UP-TO-DATE :app:compileDebugShaders UP-TO-DATE :app:generateDebugAssets UP-TO-DATE :app:mergeDebugAssets

:app:extractTryWithResourcesSupportJarDebug UP-TO-DATE :app:transformClassesWithStackFramesFixerForDebug

:app:transformClassesWithDesugarForDebug 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.ClassVisitor.visitEnd(Unknown Source) at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) 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)

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.ClassVisitor.visitEnd(Unknown Source) at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) 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)

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.ClassVisitor.visitEnd(Unknown Source)

    at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source)
    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)

FAILED

FAILURE: Build failed with an exception.

Execution failed for task ':app:transformClassesWithDesugarForDebug'.

com.android.build.api.transform.TransformException: java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.google.devtools.build.android.desugar.Desugar with arguments {--input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/0.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/18.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/27.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/45.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/47.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/40.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/42.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/22.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/36.jar --input /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --output /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/desugar/debug/21.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/classes/debug --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar--classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/35.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/36.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/37.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transform s/stackFramesFixer/debug/38.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/39.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/40.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/41.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/42.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/43.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/44.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/45.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/46.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/47.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/48.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/49.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/50.jar --classpath_entry /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/51.jar --bootclasspath_entry /Users/hazemalsaied/Library/Android/sdk/platforms/android-26/android.jar --bootclasspath_entry /Users/hazemalsaied/Library/Android/sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}

BUILD FAILED in 32s 36 actionable tasks: 9 executed, 27 up-to-date (node:93995) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: /Users/hazemalsaied/IonicApps/questionApp /platforms/android/gradlew: Command failed with exit code 1 Error output: Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /Users/hazemalsaied/IonicApps/questionApp /platforms/android/app/src/main/java/io/card/cordova/sdk/CardIOCordovaPlugin.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 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.ClassVisitor.visitEnd(Unknown Source) at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) 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)

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.ClassVisitor.visitEnd(Unknown Source) at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) 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)

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.ClassVisitor.visitEnd(Unknown Source) at org.objectweb.asm.ClassVisitor.visitEnd(Unknown Source) 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)

FAILURE: Build failed with an exception.

BUILD FAILED in 32s

matthieu-hm commented 6 years ago

I have the same problem, did you find a solution ?