Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 2 files found with path 'META-INF/NOTICE.md' #54

Open
mover33 opened this issue Oct 16, 2024 · 0 comments
Open

Error: 2 files found with path 'META-INF/NOTICE.md' #54

mover33 opened this issue Oct 16, 2024 · 0 comments

Comments

@mover33
Copy link

mover33 commented Oct 16, 2024

An error appears after adding the library to the project:

2 files found with path 'META-INF/NOTICE.md'.
Adding a packaging block may help, please refer to
https://developer.android.com/reference/tools/gradle-api/8.7/com/android/build/api/dsl/Packaging
for more information
Execution failed for task ':app:mergeDebugJavaResource'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
   > 2 files found with path 'META-INF/NOTICE.md' from inputs:
      - C:\Users\user\.gradle\caches\modules-2\files-2.1\com.sun.mail\jakarta.mail\2.0.1\96d3645f02a92bcc5e7ae1ff037151e44179f230\jakarta.mail-2.0.1.jar
      - C:\Users\user\.gradle\caches\modules-2\files-2.1\com.sun.activation\jakarta.activation\2.0.1\828b80e886a52bb09fe41ff410b10b342f533ce1\jakarta.activation-2.0.1.jar

The installation was carried out as follows:

  1. I added a line in build.gradle.kts (:app) in the dependencies section:
    implementation(“com.github.nedimf:maildroid:v0.1.1.1-release”)

  2. Added a line in settings.gradle.kts in the repositories section:
    maven { url = uri(“https://jitpack.io”) }

JAVA
Android Studio 2024.2.1 patch 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant