ZipException:重复输入:com/google/android/gms/internal/zzbtt.class [英] ZipException: duplicate entry: com/google/android/gms/internal/zzbtt.class

查看:121
本文介绍了ZipException:重复输入:com/google/android/gms/internal/zzbtt.class的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误:任务':app:transformClassesWithJarMergingForDebug'的执行失败.

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException:java.util.zip.ZipException:重复条目:com/google/android/gms/internal/zzbtt.class

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzbtt.class

推荐答案

  1. 请确保所有Firebase和Google Play服务的版本都完全相同(例如11.0.2)

  1. Please make sure all Firebase and Google play services are the exact same version (11.0.2, for example)

有关Firebase 11.0.2使用的正确版本的表,请参阅FirebaseUi github

Refer to the FirebaseUi github for a table of the correct versions to use for Firebase 11.0.2

不相关,但是您的Volley库依赖项已弃用(请参见相应的Github页面).同样,如果使用Apache HTTP库

Unrelated, but your Volley library dependency is deprecated (see it's respective Github page). Similarly, you shouldn't need Volley if using Apache HTTP libraries

这篇关于ZipException:重复输入:com/google/android/gms/internal/zzbtt.class的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆