Fixed
Status Update
Comments
al...@google.com <al...@google.com>
je...@google.com <je...@google.com>
an...@google.com <an...@google.com> #3
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Iguana | 2023.2.1 Canary 4
- Android Gradle Plugin 8.3.0-alpha04
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
ba...@gmail.com <ba...@gmail.com> #4
After updating Android Studio into Iguana | 2023.2.1 and Android Gradle Plugin 8.4.0. Facing the
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
> 6 files found with path 'META-INF/LICENSE.md' from inputs:
A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
> 6 files found with path 'META-INF/LICENSE.md' from inputs:
a....@beconnect-app.com <a....@beconnect-app.com> #5
Hello everyone,
i face the exact same issue. After updating to 2023.2.1 i get the following error message when building my KMM Project:
6 files found with path 'META-INF/LICENSE.md'.
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
Also the link leads to a non existent article.
i face the exact same issue. After updating to 2023.2.1 i get the following error message when building my KMM Project:
6 files found with path 'META-INF/LICENSE.md'.
Adding a packagingOptions block may help, please refer to
for more information
Also the link leads to a non existent article.
hm...@google.com <hm...@google.com> #6
You can use
packaging {
resources {
excludes += "/META-INF/LICENSE.md"
}
}
to work around it. Or instead of excludes you can also use pickFirst
Take a look at
ag...@gmail.com <ag...@gmail.com> #7
I can solved using
build.gradle.kts
android {
...
packaging {
resources {
...
excludes += "/META-INF/LICENSE.md"
excludes += "/META-INF/LICENSE-notice.md"
}
}
Description
DESCRIBE THE ISSUE IN DETAIL:
Disclaimer: this is not an Android Studio bug, I wanted to submit it under
Android Public Tracker > App Development > Android Studio > Gradle > Android Gradle Plugin
but I got a response saying
You do not have permission to create issues in this component.
.The bug itself:
If you get the following build error
It suggests you a broken link to the documentation
STEPS TO REPRODUCE:
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
Not required
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
Not required
Studio Build:
Version of Gradle Plugin:
8.1.1
Version of Gradle:
8.3
Version of Java:
OpenJDK 64-Bit Server VM by JetBrains s.r.o.
OS:
GNU/Linux (ArchLinux)