gpt4 book ai didi

安卓工作室错误 : Interface used as super class of when include firebase-core:16. 0.4

转载 作者:行者123 更新时间:2023-11-29 23:25:34 25 4
gpt4 key购买 nike

包含时出现错误

implementation 'com.google.firebase:firebase-core:16.0.4'

在builde.gradle中

Error: Interface `com.google.android.gms.measurement.internal.zzah(classpath class)` used as super class of `com.google.android.gms.measurement.internal.zzbv`.

最佳答案

我认为 Google 和 Firebase 库的版本不匹配。对于我下面的组合工作,如果任何 body 面临这样的问题:

//Google
implementation "com.google.android.gms:play-services-auth:16.0.1"
implementation "com.google.android.gms:play-services-gcm:16.0.0"
implementation "com.google.android.gms:play-services-location:16.0.0"

//Firebase
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-messaging:17.3.3'
implementation "com.google.firebase:firebase-auth:16.0.4"
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
implementation 'com.google.firebase:firebase-invites:16.0.4'

关于安卓工作室错误 : Interface used as super class of when include firebase-core:16. 0.4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53645424/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com