Jeremy
03/04/2021, 6:15 PMMore than one file was found with OS independent path 'META-INF/AL2.0'.
Added exclude to the packagingOptions in android{} but still getting err. This is occurring only for instrumented tests. Any ideas?Gabriel
03/05/2021, 5:45 PMGabriel
03/05/2021, 5:45 PM// Added to avoid this error -
// Execution failed for task ':app:mergeDebugAndroidTestJavaResource'.
// > A failure occurred while executing com.android.build.gradle.internal.tasks.MergeJavaResWorkAction
// > 2 files found with path 'META-INF/AL2.0' from inputs:
packagingOptions {
resources.excludes.add("META-INF/AL2.0")
resources.excludes.add("META-INF/LGPL2.1")
}
Gabriel
03/05/2021, 5:46 PM