AndrdoidStudio 2个jar包引起的异常Duplicate files copied in APK META-INF/LICENSE.txt

在build.gradle中与compileSdkVersion **、buildToolsVersion “**.**.*"或defaultConfig 同级添加如下代码

packagingOptions{
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}

posted on 2016-04-14 14:42  BKYJungle  阅读(331)  评论(0编辑  收藏  举报