5***@qq.com
5***@qq.com
  • 发布:2020-09-20 14:01
  • 更新:2020-11-10 12:34
  • 阅读:630

打包发生的异常

分类:HBuilderX

Appid: UNI50CB118
D8: Program type already present: com.sangfor.bugreport.BugReport

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'.

    com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/0.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/1.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/2.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/3.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/4.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/5.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/6.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/7.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/8.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/9.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/10.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/11.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/12.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/16.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/17.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/18.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/19.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/20.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/21.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/22.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/23.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/24.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/25.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/26.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/27.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/28.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/29.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/30.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/31.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/32.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/33.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/34.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/35.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/36.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/40.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/41.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/42.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/43.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/45.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/47.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/48.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/49.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/50.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/51.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/52.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/53.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/54.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/55.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/56.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/57.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/58.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/59.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/60.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/61.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/62.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/63.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/64.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/65.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/66.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/67.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/68.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/69.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/70.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/71.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/72.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/73.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/74.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/75.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/76.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/77.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/78.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/79.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/80.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/81.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/82.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/83.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/84.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/85.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/86.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/87.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/88.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/89.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/90.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/91.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/92.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/93.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/94.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/95.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/96.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/97.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/98.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/99.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/100.jar
    Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
    Program type already present: com.sangfor.bugreport.BugReport

  • Try:
    Run with --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForRelease'.
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
    at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
    at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
    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.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
    at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
    at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
    Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/0.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/1.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/2.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/3.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/4.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/5.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/6.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/7.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/8.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/9.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/10.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/11.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/12.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/16.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/17.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/18.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/19.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/20.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/21.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/22.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/23.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/24.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/25.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/26.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/27.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/28.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/29.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/30.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/31.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/32.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/33.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/34.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/35.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/36.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/40.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/41.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/42.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/43.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/45.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/47.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/48.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/49.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/50.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/51.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/52.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/53.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/54.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/55.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/56.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/57.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/58.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/59.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/60.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/61.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/62.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/63.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/64.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/65.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/66.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/67.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/68.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/69.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/70.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/71.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/72.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/73.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/74.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/75.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/76.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/77.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/78.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/79.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/80.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/81.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/82.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/83.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/84.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/85.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/86.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/87.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/88.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/89.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/90.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/91.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/92.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/93.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/94.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/95.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/96.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/97.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/98.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/99.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/100.jar
    Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
    Program type already present: com.sangfor.bugreport.BugReport
    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:230)
    at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
    at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
    at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
    at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
    ... 31 more
    Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/0.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/1.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/2.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/3.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/4.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/5.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/6.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/7.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/8.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/9.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/10.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/11.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/12.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/16.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/17.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/18.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/19.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/20.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/21.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/22.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/23.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/24.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/25.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/26.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/27.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/28.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/29.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/30.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/31.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/32.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/33.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/34.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/35.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/36.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/40.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/41.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/42.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/43.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/45.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/47.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/48.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/49.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/50.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/51.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/52.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/53.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/54.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/55.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/56.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/57.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/58.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/59.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/60.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/61.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/62.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/63.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/64.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/65.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/66.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/67.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/68.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/69.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/70.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/71.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/72.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/73.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/74.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/75.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/76.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/77.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/78.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/79.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/80.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/81.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/82.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/83.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/84.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/85.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/86.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/87.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/88.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/89.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/90.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/91.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/92.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/93.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/94.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/95.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/96.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/97.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/98.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/99.jar, 安装包制作目录/app/build/intermediates/transforms/dexBuilder/release/100.jar
    Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
    Program type already present: com.sangfor.bugreport.BugReport
    at com.android.builder.dexing.D8DexArchiveMerger.getExceptionToRethrow(D8DexArchiveMerger.java:132)
    at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117)
    at com.android.build.gradle.internal.transforms.DexMergerTransformCallable.call(DexMergerTransformCallable.java:101)
    at com.android.build.gradle.internal.transforms.ExternalLibsMergerTransform.transform(ExternalLibsMergerTransform.kt:122)
    at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:239)
    at com.android.build.gradle.internal.pipeline.TransformTask$2.call(TransformTask.java:235)
    at com.android.builder.profile.ThreadRecorder.record(ThreadRecorder.java:102)
    ... 44 more
    Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
    at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:65)
    at com.android.tools.r8.utils.ExceptionUtils.withD8CompilationHandler(ExceptionUtils.java:43)
    at com.android.tools.r8.D8.run(D8.java:90)
    at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:115)
    ... 49 more
    Caused by: com.android.tools.r8.utils.AbortException: Error: Program type already present: com.sangfor.bugreport.BugReport
    at com.android.tools.r8.utils.Reporter.failIfPendingErrors(Reporter.java:116)
    at com.android.tools.r8.utils.Reporter.fatalError(Reporter.java:74)
    at com.android.tools.r8.utils.ExceptionUtils.withCompilationHandler(ExceptionUtils.java:59)
    ... 52 more* Get more help at https://help.gradle.org

BUILD FAILED in 11s

2020-09-20 14:01 负责人:无 分享
已邀请:
haonan

haonan

兄弟你解决了吗 我的也出现这个问题了

该问题目前已经被锁定, 无法添加新回复