Error : More Than One File Was Found With Os Independent Path 'meta-inf/license'
I having android app where I'm using google translate API When I build, I got Error : Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. More than
Solution 1:
try adding
packagingOptions {
pickFirst "**"
}
OR
packagingOptions {
pickFirst 'META-INF/LICENSE'
}
OR
packagingOptions{
exclude 'META-INF/LICENSE'
}
Solution 2:
try adding these lines in your app level gradle file
packagingOptions {
exclude 'project.properties'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
exclude 'META-INF/INDEX.LIST'
}
Post a Comment for "Error : More Than One File Was Found With Os Independent Path 'meta-inf/license'"