版权声明:本文为程序园中猿原创文章,转载请注明出处 https://blog.csdn.net/yinxing2008/article/details/84817567
报错:
Execution failed for task ‘:app:transformResourcesWithMergeJavaResForDebug’.
More than one file was found with OS independent path ‘META-INF/proguard/androidx-annotations.pro’
解决方案:
在defaultConfig下增加packagingOptions,过滤掉提示重复的文件。
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
安卓开发技术分享: https://blog.csdn.net/yinxing2008/article/details/84555061