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

后端 未结 21 1344
孤街浪徒
孤街浪徒 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:04

    This problem cost me one whole day. I finally downgraded the firebase-ui library version from 2.0.0 to 1.2.0 and added the following code inside Project level build.gradle file:

    allprojects {
        repositories {
            jcenter()
    
            // Add the following code to your project level build.gradle
            maven {
                url 'https://maven.fabric.io/public'
            }
        }
    }
    

提交回复
热议问题