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 项目,他们没有这个问题。我试图使缓存无效并重新启动但没有解决。
我正在使用: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 版本:
implementation 'com.google.firebase:firebase-core:16.0.3'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5'
谢谢!