更新时间:2021-09-26 05:57:17
这背后的原因可能是您为 gms 包含了两个不同的版本.此外,如果您已包含完整的软件包,则无需包含第二个 'compile 'com.google.android.gms:play-services:7.5.0'' 如果您只需要来自 google 的身份验证服务,则不要包含完整的打包它会超过 65k 个方法,并且会有重复的机会.包括这个
The reason behind that may be you have include two different versions for gms. Also if you have included the complete package then there is no need to include the second 'compile 'com.google.android.gms:play-services:7.5.0'' If you need only auth services from google then dont include the complete package it ll exceed 65k methods and duplicacy chances will be there. Include this
编译'com.google.android.gms:play-services-auth:9.4.0'
compile 'com.google.android.gms:play-services-auth:9.4.0'
并从您的代码中删除
编译 'com.google.android.gms:play-services-auth:9.2.1' 编译'com.google.android.gms:play-services:7.5.0'
compile 'com.google.android.gms:play-services-auth:9.2.1' compile 'com.google.android.gms:play-services:7.5.0'
执行它并让我知道一次.
Execute it and let me know once.
找不到类的com.google.android.gms.location.internal.ParcelableGeofence
找不到从方法glt.a引用类的com.google.android.gms.location.internal.ParcelableGeofence
java.lang.NoClassDefFoundError: com.google.android.gms.common.internal.zzd
com.google.android.gms.internal.zzhu:找不到引用的类android.security.NetworkSecurityPolicy
java.util.zip.ZipException:重复输入:com/google/android/gms/internal/zzbq.class
java.lang.NoClassDefFoundError:com.google.android.gms.common.internal.zzd
如何修复“重复的类 com.google.android.gms.common.api.internal.zza"错误?