Hi,
i tried to compile my Project but it failed.
I compiled this Project yesterday with no problems and i just installed one new Cordova Plugin and now it doesn’t work anymore.
My Error:
tNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
:app:createDebugCompatibleScreenManifests
:app:processDebugManifest
:app:splitsDiscoveryTaskDebug
:app:processDebugResources
:app:generateDebugSources
:app:javaPreCompileDebug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileDebugJavaWithJavac
:app:compileDebugNdk NO-SOURCE
:app:compileDebugSources
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:app:mergeDebugShaders
:app:compileDebugShaders
:app:generateDebugAssets
:app:mergeDebugAssets
:app:transformClassesWithStackFramesFixerForDebug
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
FAILURE: Build failed with an exception.
* What went wrong:
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/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/23.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/21.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/3.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/6.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/22.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/5.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/15.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/classes/debug --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar--classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry/Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --bootclasspath_entry /Users/jstrauss/Library/Android/sdk/platforms/android-27/android.jar --bootclasspath_entry /Users/jstrauss/Library/Android/sdk/platforms/android-27/optional/org.apache.http.legacy.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/resources.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/rt.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jsse.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jce.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/charsets.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jfr.jar --min_sdk_version 19 --nodesugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 15s
35 actionable tasks: 35 executed
/Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/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: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation 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.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.
* What went wrong:
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/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/23.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/21.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/3.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/6.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/22.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/5.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/15.jar --input /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --output /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/classes/debug --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar--classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry/Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /Users/jstrauss/Documents/PROGAMMING/IONIC/VendorChecklist/platforms/android/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --bootclasspath_entry /Users/jstrauss/Library/Android/sdk/platforms/android-27/android.jar --bootclasspath_entry /Users/jstrauss/Library/Android/sdk/platforms/android-27/optional/org.apache.http.legacy.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/resources.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/rt.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jsse.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jce.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/charsets.jar --bootclasspath_entry /Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre/lib/jfr.jar --min_sdk_version 19 --nodesugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 15s
[ERROR] An error occurred while running subprocess cordova.
cordova build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.
I hope anyone can help me.
Thanks