Closed stavris8894 closed 3 months ago
Discussed further in https://bufbuild.slack.com/archives/CRZ680FUH/p1718144711351699. Using an existing Android example project, I was able to reproduce the problem but adding:
packaging {
resources {
excludes.add("/META-INF/*")
}
}
resolved the issue. These files come from upstream dependencies used to validate email addresses and are out of our control, so it is recommended to add exclusions for Android builds that prevent duplicate files.
Given a sample build file, it was missing enabling either the Android application or library plugin, which means that the excludes weren't having any effect.
There doesn't appear to be anything further to be done. If you'd like us to research further, please provide a minimal example repo we can use to reproduce the problem and help to debug.
Description
I am using the library for an Android application and i am getting the below error:
Steps to Reproduce
Environment