简体   繁体   中英

android firebase crashlytics invalid key error

I integrated firebase crashlytics using below url and it was working fine. https://firebase.google.com/docs/crashlytics/get-started?authuser=0

Then I did git pull from other developer and went to build project and got following error:

Error:org.gradle.api.GradleException: Crashlytics Developer Tools error. Error:com.crashlytics.tools.android.exception.PluginException: Crashlytics Developer Tools error. Error:java.lang.IllegalArgumentException: Crashlytics found an invalid API key: null.

I have added this line in end of build.gradle

apply plugin: 'com.google.gms.google-services'

Firebase Crashlytics requires the Google services Gradle plugin (com.google.gms:google-services) in your build script to process the google-services.json file at build time. However, Crashlytics does work on devices that do not have Google Play services.

首先,您必须将Firebase作为https://firebase.google.com/docs/android/setup?authuser=0添加到您的项目中

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM