https://kotlinlang.org logo
#ktor
Title
# ktor
d

Daniele B

11/06/2023, 9:32 AM
upgrading from 2.3.4 to 2.3.5 I get this error on compilation:
Copy code
> Task :androidApp:mergeDebugJavaResource FAILED
Execution failed for task ':androidApp:mergeDebugJavaResource'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
   > 2 files found with path 'META-INF/versions/9/previous-compilation-data.bin'.
     Adding a packagingOptions block may help, please refer to
     <https://developer.android.com/reference/tools/gradle-api/8.1/com/android/build/api/dsl/ResourcesPackagingOptions>
     for more information
is it a bug, or should I add some extra gradle configurations?
a

Aleksei Tirman [JB]

11/06/2023, 9:34 AM
This is a bug. You can use a workaround described in this comment.
d

Daniele B

11/06/2023, 9:40 AM
ok, thanks. I will wait for 2.3.6
a

Aleksei Tirman [JB]

11/06/2023, 9:41 AM
This issue isn't fixed yet.
4 Views