Can't compile app with Java 8
AlexZvonik opened this issue · 2 comments
Expected Behavior
Can compile my app
Actual Behavior
When compiling my app with Java 8 enabled, i'm getting weird error:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithDesugarForDebug'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 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 /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/2.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/13.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/24.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/27.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/classes/debug --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/android.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/resources.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/rt.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jsse.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jce.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/charsets.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
at com.android.builder.profile.Recorder$Block.handleException(Recorder.java:55)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:104)
at com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:213)
at sun.reflect.GeneratedMethodAccessor411.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
... 30 more
Caused by: 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 /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/2.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/13.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/24.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/27.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/classes/debug --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/android.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/resources.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/rt.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jsse.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jce.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/charsets.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
at com.android.build.gradle.internal.transforms.DesugarTransform.transform(DesugarTransform.java:236)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:222)
at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:218)
at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
... 45 more
Caused by: 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 /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/2.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/13.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/24.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/27.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/classes/debug --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/android.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/resources.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/rt.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jsse.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jce.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/charsets.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)
at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)
at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720)
at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:146)
at com.android.build.gradle.internal.transforms.DesugarTransform.transform(DesugarTransform.java:230)
... 48 more
Caused by: 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 /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/2.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/13.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/24.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/27.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/classes/debug --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/android.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/resources.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/rt.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jsse.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jce.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/charsets.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1431)
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
Caused by: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.google.devtools.build.android.desugar.Desugar with arguments {--input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/2.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/13.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/24.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/27.jar --input /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --output /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/desugar/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/classes/debug --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/28.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/29.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/30.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/31.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/32.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/33.jar --classpath_entry /home/alex/AndroidStudioProjects/TestJava8/app/build/intermediates/transforms/stackFramesFixer/debug/34.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/android.jar --bootclasspath_entry /home/alex/Android/Sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/resources.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/rt.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jsse.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/jce.jar --bootclasspath_entry /home/alex/Android/android-studio/jre/jre/lib/charsets.jar --min_sdk_version 16 --desugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}
at com.android.build.gradle.internal.process.GradleProcessResult.buildProcessException(GradleProcessResult.java:73)
at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:48)
at com.android.build.gradle.internal.transforms.DesugarTransform.lambda$processNonCachedOnes$3(DesugarTransform.java:316)
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
... 4 more
Caused by: org.gradle.process.internal.ExecException: Process 'command '/home/alex/Android/android-studio/jre/bin/java'' finished with non-zero exit value 1
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:380)
at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:46)
... 6 more
Steps to Reproduce the Problem
- add dependency
implementation "com.leanplum:leanplum-core:4.0.0"
- Add to your build.gradle
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
- Try to compile your app
Specifications
- Version: 4.0.0
- Platform: Android
- Subsystem:
This bug is duplicate of #113
Hello Alex,
I think this is a duplicate of #113, which was already fixed.
I was also not able to reproduce on my end and noticed that you closed this request as well.
Is everything working as expected?
Thanks!
Hi @federico1525
I found that the problem is in the leanplum mparticle kit, not in the leanplum itself.
Thanks.