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

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

    check your dependencies versions, you must have compatible versions put attention specially to com.google packages, must have same version like:

    compile 'com.google.android.gms:play-services:8.3.0'
    compile 'com.google.android.gms:play-services-maps:8.3.0'
    

    Both are 8.3.0, if you have another version compilation will throw that exception.

提交回复
热议问题