More than one file was found with OS independent path 'META-INF/pangolin_release

76 阅读1分钟

Android Studio中编译工程的时候报错: More than one file was found with OS independent path 'META-INF/pangolin_release.kotlin_module'.

image.png

解决方案

image.png 如果没有上述情况则在app的build.gradle文件中添加如下代码可解决

packagingOptions {
    exclude 'META-INF/pangolin_release.kotlin_module'
}

image.png

参考:blog.csdn.net/kenjili/art…