Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
226 views
in Technique[技术] by (71.8m points)

java - Program type already present: android.support.v13.view.DragAndDropPermissionsCompat

I updated Android studio to 3.1 and this error appears after update:

 Program type already present: android.support.v13.view.DragAndDropPermissionsCompat
    Message{kind=ERROR, text=Program type already present: android.support.v13.view.DragAndDropPermissionsCompat, sources=[Unknown source file], tool name=Optional.of(D8)}

org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

Caused by: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException

Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete >

 org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
    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.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
    at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
    at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
    at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
    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:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    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:123)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:626)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:581)
    at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
    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.builder.dexing.DexArchiveMergerException: Error while merging dex archives: D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug1.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug2.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug3.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug4.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug5.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug6.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug7.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug10.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug11.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug12.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug14.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug28.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug29.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug30.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug31.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug32.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug33.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug34.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug35.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug36.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug37.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug38.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug39.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug40.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug41.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug42.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug43.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug44.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug45.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug46.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug48.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug49.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug50.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug51.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug52.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug53.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug54.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug55.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug56.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug57.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug58.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug59.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug60.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug62.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug63.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug64.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug65.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug66.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug70.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug71.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug72.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug73.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug83.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug84.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug85.jar
    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:212)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    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.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:46)
    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:121)
    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:199)
    at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:110)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)
    ... 32 more
Caused by: com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug1.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug2.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug3.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug4.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug5.jar, D:ISLaMiCSoBhYSho8lamiraaaaappuildintermediatesransformsdexBuilderdebug6.jar, D:ISLaMiCSoBhYSho8l

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...