Duplicate files copied in APK META-INF/library_release.kotlin_module

后端 未结 3 1884
耶瑟儿~
耶瑟儿~ 2021-02-20 17:13

I recently added two Android libraries through JitPack and I have the following error:

Duplicate files copied in APK META-INF/library_release.kotlin_module
         


        
3条回答
  •  遥遥无期
    2021-02-20 17:46

    You should add this to the build.gradle file of your app inside the android tag

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

提交回复
热议问题