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

 
 

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

packagingOptions {
        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'
    }


在build.gradle的Module中添加这个就可以解决了!

猜你喜欢

转载自blog.csdn.net/zhangvalue/article/details/78797046