• Register
1 vote
234 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.9k points

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'
  }
}
36.1k points

Related questions

0 votes
1 answer 368 views
368 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 jwilliam 3.9k points
0 votes
2 answers 911 views
911 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 14 views
14 views
Problem: A device that keeps a table of MAC addresses to port mappings – switch, a networking technology that carries more than one type of signal? Does any one have right solution for me?
asked Feb 19 maddi86 5.4k points
0 votes
2 answers 120 views
120 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 603 views
603 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 “Your file was not found it may have been moved or deleted. err_file_not_found” 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 jwilliam 3.9k points