-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashlytics found an invalid API key: null. #1000
Comments
This issue does not seem to follow the issue template. Make sure you provide all the required information. |
@paulsUsername this sounds a bit like this issue: Could you show me your |
Really sorry about the delay getting back to you. It's causing a lot of problems now. The only way we can release new builds, otherwise, we get: No value has been specified for this provider. Completely removing crashlytics resolves the issue App Build.gradle:
Build.gradle:
common.gradle:
|
Further information: If I downgrade Gradle to 'com.android.tools.build:gradle:3.5.1' it resolves to issue. Any version past that and it won't work If I have crashlytics as part of the project. With Crashlytics removed from the project, I can sync perfectly with any gradle version. |
This is still causing major headaches here. We have to completely remove Crashlytics in order to run a test |
@paulsUsername sorry about my slow response here. So it looks like this is an incompatibility between two things:
I have to be honest that I am not familiar enough with the fabric plugin (or the AGP beta) to debug this myself but let me try to find someone on the Crashlytics team who can. |
I tested creating a brand new Fabric project with |
@paulsUsername We were able to get this working with Are you doing anything custom with your setup in terms of how you add your google-services.json file? |
It seemed to resolve that initial error in regards to Crashlytics API key but I am get a provider error then. “No value has been provided for this provider” There is no clarity provided on which producer this refers to. Nothing fancy with our google services json. |
I meant to follow on from the above. The issue wasn't actually resolved, we were using an earlier version of Gradle. Anything past 3.5.1 returns error: “No value has been provided for this provider” The only way to resolve the issue on 3.6.0-rc01 is to remove the line: apply plugin: 'io.fabric' |
Hey, sorry for the delay here. I was wondering if you'd be able to share the full stacktrace for the issue you're seeing here? Can you run
and attach the output? Thanks! For visibility, we're still unable to reproduce this behavior, so we'd like a better idea of exactly what's going on so we can try to build a reproduction case. |
Since there has been no response in a while I assume this bug has been fixed. @paulsUsername if that is not the case I am happy to re-open it |
Step 1: Describe your environment
implementation 'com.firebaseui:firebase-ui-auth:4.3.2'
implementation 'com.firebaseui:firebase-ui-storage:4.3.2'
implementation 'com.google.firebase:firebase-core:17.2.1'
implementation 'com.google.firebase:firebase-storage:19.1.0'
implementation 'com.google.firebase:firebase-database:19.2.0'
implementation 'com.google.firebase:firebase-auth:19.1.0'
implementation 'com.google.firebase:firebase-messaging:20.0.1'
implementation 'com.google.firebase:firebase-dynamic-links:19.0.0'
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
Step 2: Describe the problem:
If I try to run an instrument test I get the following error:
Crashlytics found an invalid API key: null.
Steps to reproduce:
Install firebase crashlytics. Run Instrument Test.
Observed Results:
Crashlytics found an invalid API key: null.
Expected Results:
Test to run
Relevant Code:
The text was updated successfully, but these errors were encountered: