java.util.zip.ZipException: duplicate entry during packageAllDebugClassesForMultiDex

后端 未结 21 1713
孤街浪徒
孤街浪徒 2020-11-22 07:37

I am not sure what this error means.

Execution failed for task \':excelSior:packageAllDebugClassesForMultiDex\'.
> java.util.zip.ZipException: duplicate          


        
21条回答
  •  眼角桃花
    2020-11-22 08:11

    Try this:

    android {
    configurations {
            all*.exclude  module: 'PhotoView'  //去除重复依赖库
        }
    }
    

提交回复
热议问题