Crashlytics发现无效的API密钥:null. com.google.gms:google-services:4.1.0更新后 [英] Crashlytics found an invalid API key: null. after updated com.google.gms:google-services:4.1.0

查看:202
本文介绍了Crashlytics发现无效的API密钥:null. com.google.gms:google-services:4.1.0更新后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

com.google.gms:google-services:4.0.1更新到com.google.gms:google-services:4.1.0

Crashlytics found an invalid API key: null. 
Check the Crashlytics plugin to make sure that the application has been added successfully! 
Contact support@fabric.io for assistance.

对于Java项目,他们没有这个问题.我试图使缓存无效并重新启动,但没有解决.

For Java projects, they hadn't this problem. I tried to invalidate cache and restart but not resolve.

我正在使用: Android Studio 3.3 Canary 8

I'm using: Android Studio 3.3 Canary 8

dependencies {
      classpath 'com.android.tools.build:gradle:3.3.0-alpha08'

      classpath 'com.google.gms:google-services:4.1.0'
      classpath 'io.fabric.tools:gradle:1.25.4'

      classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.61"
      classpath "org.jetbrains.kotlin:kotlin-android-extensions:1.2.61"
}

FirebaseCrashlytics版本:

FirebaseCrashlytics version:

implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'

谢谢!

推荐答案

classpath 'com.google.gms:google-services:4.1.0'

classpath 'com.google.gms:google-services:4.2.0'

这篇关于Crashlytics发现无效的API密钥:null. com.google.gms:google-services:4.1.0更新后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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