• Register
1 vote
353 views

Problem :

I am facing bellow android workmanager issue
more than one file was found with os independent path 'meta-inf/proguard/androidx-annotations.pro'
6 5 3
6,930 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

Please add bellow code to your apps build.gradle file and it will solved your problem.

android {
  packagingOptions {
    exclude 'META-INF/proguard/androidx-annotations.pro'
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/ASL2.0'
  }
}
9 7 4
38,600 points

Related questions

0 votes
1 answer 813 views
813 views
Problem : When I try to build my app, I face follow error : Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. More than one file was found with OS independent path 'META-INF/LICENSE' When I try to add below code ... .LeakCanary.isInAnalyzerProcess(LeakCanary.java:145) at cn.sz.cyrus.wemz.TestApplication.onCreate(TestApplication.kt:32) Who knows how to solve this?
asked Jan 21, 2020 jwilliam 3.9k points
0 votes
1 answer 6 views
6 views
Problem: It is difficult to understand why we need more than one library with package name 'android.support.graphics.drawable'?Please somebody help me. Thanks!
asked Mar 26 ashik 12.9k points
0 votes
1 answer 12 views
12 views
Problem: I have this error, and I need to fix it, any help: the truth value of an array with more than one element is ambiguous. use a.any() or a.all()
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 52 views
52 views
Problem: iu must be specified for systems with more than one input.
asked Feb 18 charles mathews 5.5k points
0 votes
1 answer 24 views
24 views
Problem: I am really confused as to why this error appears. Here is my code: import numpy as np x = np.array([0, 0]) y = np.array([10, 10]) a = np.array([1, 6]) b = np.array([3, 7]) points = [x, y, a, b] max_pair = [x, y] other_pairs = ... 5, 6] not in max_pair) >>>False Why does this happen when using NumPy arrays? not in/inis ambiguous for existence? What is the correct syntax using any()\all()?
asked Jan 26 sasha 16.2k points
0 votes
2 answers 1.9K views
1.9K views
Problem : I got following rather cryptic error message: the truth value of an array with more than one element is ambiguous. use a.any() or a.all()
asked Nov 18, 2019 peterlaw 6.9k points
0 votes
1 answer 4 views
4 views
Problem: Can someone guide me. What is the purpose of having more than one class in a Java file? I am new to Java.
asked Mar 19 ummesalma 25.2k points
0 votes
1 answer 2 views
2 views
Problem: Do you have idea how to add more than one destination on google maps ?
asked 3 days ago jamuna1 18.1k points
0 votes
1 answer 2 views
2 views
Problem: Hello im having a hard time with this stored procedure. im getting the error: Result consisted of more than one row.?
asked Apr 2 Sana8989 8.9k points
0 votes
1 answer 5 views
5 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 51.5k points