org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':myApp:transformClassesWithJarMergingForDebug'.

Stack Overflow | supermonkey | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    In Android Studio grade, duplicate entry: com/google/android/gms/ads/AdActivity.class

    Stack Overflow | 8 months ago | supermonkey
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':myApp:transformClassesWithJarMergingForDebug'.
  2. 0

    Remove Jackson Jars from Libs-Folder

    GitHub | 9 months ago | Stefantost
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithJarMergingForLiveDebug'.
  3. 0

    Remove Jackson Jars from Libs-Folder

    GitHub | 9 months ago | Stefantost
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithJarMergingForLiveDebug'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    add new realm version(1.2.0) leading toError:java.util.zip.ZipException

    Stack Overflow | 7 months ago | max
    com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/objectweb/asm/AnnotationVisitor.class

    Root Cause Analysis

    1. java.util.zip.ZipException

      duplicate entry: com/google/android/gms/ads/AdActivity.class

      at com.android.build.gradle.internal.transforms.JarMerger.addJar()
    2. com.android.build
      TransformTask$3.call
      1. com.android.build.gradle.internal.transforms.JarMerger.addJar(JarMerger.java:161)
      2. com.android.build.gradle.internal.transforms.JarMerger.addJar(JarMerger.java:121)
      3. com.android.build.gradle.internal.transforms.JarMergingTransform.transform(JarMergingTransform.java:107)
      4. com.android.build.gradle.internal.pipeline.TransformTask$3.call(TransformTask.java:178)
      5. com.android.build.gradle.internal.pipeline.TransformTask$3.call(TransformTask.java:174)
      5 frames
    3. com.android.builder
      ThreadRecorder$1.record
      1. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:55)
      2. com.android.builder.profile.ThreadRecorder$1.record(ThreadRecorder.java:47)
      2 frames
    4. com.android.build
      TransformTask.transform
      1. com.android.build.gradle.internal.pipeline.TransformTask.transform(TransformTask.java:173)
      1 frame
    5. org.gradle.internal
      JavaMethod.invoke
      1. org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:75)
      1 frame
    6. Gradle Core
      StoppableExecutorImpl$1.run
      1. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:244)
      2. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:220)
      3. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:231)
      4. org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:209)
      5. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
      6. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
      7. org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
      8. org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
      9. org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
      10. org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
      11. org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:52)
      12. org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
      13. org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
      14. org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
      15. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:203)
      16. org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:185)
      17. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:66)
      18. org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:50)
      19. org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54)
      20. org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40)
      20 frames