https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Sinan Kozak

05/11/2020, 10:43 AM
Does anyone else have compile issue with Android Test with new 1.3.6? It is probably about byte-buddy but I dont know how to fix the issue. Full error in the comments.
More than one file was found with OS independent path 'win32-x86-64/attach_hotspot_windows.dll'
Copy code
[2020-05-11T09:12:39.211Z] Caused by: com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path 'win32-x86-64/attach_hotspot_windows.dll'
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.StreamMergeAlgorithms.lambda$acceptOnlyOne$2(StreamMergeAlgorithms.java:75)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.StreamMergeAlgorithms.lambda$select$3(StreamMergeAlgorithms.java:100)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.IncrementalFileMergerOutputs$1.create(IncrementalFileMergerOutputs.java:88)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.DelegateIncrementalFileMergerOutput.create(DelegateIncrementalFileMergerOutput.java:64)
[2020-05-11T09:12:39.211Z] 	at com.android.build.gradle.internal.tasks.MergeJavaResourcesDelegate$run$output$1.create(MergeJavaResourcesDelegate.kt:228)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.IncrementalFileMerger.updateChangedFile(IncrementalFileMerger.java:242)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.IncrementalFileMerger.mergeChangedInputs(IncrementalFileMerger.java:203)
[2020-05-11T09:12:39.211Z] 	at com.android.builder.merge.IncrementalFileMerger.merge(IncrementalFileMerger.java:80)
[2020-05-11T09:12:39.211Z] 	at com.android.build.gradle.internal.tasks.MergeJavaResourcesDelegate.run(MergeJavaResourcesDelegate.kt:257)
[2020-05-11T09:12:39.211Z] 	at com.android.build.gradle.internal.tasks.MergeJavaResRunnable.run(MergeJavaResRunnable.kt:81)
[2020-05-11T09:12:39.211Z] 	at com.android.build.gradle.internal.tasks.Workers$ActionFacade.run(Workers.kt:348)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.AdapterWorkAction.execute(AdapterWorkAction.java:57)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:98)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:416)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:406)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:165)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:250)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:158)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:102)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59)
[2020-05-11T09:12:39.211Z] 	at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$2(DefaultWorkerExecutor.java:198)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:215)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164)
[2020-05-11T09:12:39.211Z] 	at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:131)
[2020-05-11T09:12:39.211Z] 	... 3 more
running
:app:assembleAndroidTest
fails
w

wasyl

05/11/2020, 10:57 AM
I don’t know what’s wrong specifically, but you can try excluding stuff using with
android.packagingOptions.exclude <filePath>
. Maybe you’re hitting https://issuetracker.google.com/issues/152898926?
s

Sinan Kozak

05/11/2020, 11:36 AM
Looks very similar. I will try suggestion from there but this issue only appears after 1.3.6. I will check do we have any transitive btyebuddy dep
55 Views