Androidstudio编译报错More than one file was found with OS independent path

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/chendeshan330/article/details/82746336

在出错的Model的gradle中添加,位置如下:

android {
    compileSdkVersion XX
    buildToolsVersion "xxx"


   //加上如下代码
    packagingOptions {
        pickFirst 'META-INF/*'
    }


}

 

阅读更多
换一批

没有更多推荐了,返回首页