• Register
1 vote

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/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 635 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
2 answers 1.6K 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 7 views
0 votes
1 answer 9 views
The program works up to 3 for but from the fourth the search for the minor / s and the major / s begins, which I managed, but if the value is repeated (which is the lowest or highest ), thus having 2 (or more) minors or majors, it only prints the one below the entered ones. So the question is ... << << "is the one with the fewest days left" << "(" << less << ")" << endl; cout << endl; return 0; }
asked Aug 14, 2020 game 4.6k points
0 votes
1 answer 15 views
Problem: A device that keeps a table of MAC addresses to port mappings &ndash; switch, a networking technology that carries more than one type of signal? Does any one have right solution for me?
asked Feb 19, 2020 maddi86 5.4k points
0 votes
2 answers 515 views
Problem : I want to import the flat file into my oledb target sql server database. But I am getting below error message : [Source - 18942979103_txt [424]] Error: Data conversion failed. The data conversion for column "recipient-name" returned status value 4 and status text ... more characters had no match in the target code page.". Why am I getting this error message? What am I doing wrong here?
asked Dec 23, 2019 alecxe 7.5k points
0 votes
1 answer 12 views
How can I solve this problem?
asked Dec 27, 2020 TeamScript 9.5k points
0 votes
1 answer 1.5K views
Problem : I am trying to build the Google Chrome extension. I searched on every platform and took every step to resolve my below error &ldquo;Your file was not found it may have been moved or deleted. err_file_not_found&rdquo; I have done everything that I could , but ... \User Data**),like the other extensions my extension also has no folder. Please let me know how to fix the extension issue.
asked Jan 22, 2020 jwilliam 3.9k points
0 votes
1 answer 13 views
13 views asked Oct 5, 2020 miki 1.9k points