question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

java.lang.IllegalArgumentException: Crashlytics found an invalid API key: null.

See original GitHub issue

I followed the SETUP from CONTRIBUTING.md to fill in dummy values, checked out the dev branch, and selected the freeDebug flavor, but am still running into the following error when building:

java.lang.IllegalArgumentException: Crashlytics found an invalid API key: null.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
AaronRietschlincommented, Sep 1, 2015

So, I realized that the process was failing when generating Resources for the Amazon product flavor. As such, I added the following line of code to the amazon product flavor bracket in the SeriesGuide/build.gradle:

ext.enableCrashlytics = false

While that worked for that build flavor, it failed again at the same spot during the free product flavor. As such, I added it to the debug buildType so that my debug buildType looks like the following:

debug {
    pseudoLocalesEnabled true
    ext.enableCrashlytics = false
}

While this may not be what we want to commit, it will allow you to build the application.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Crashlytics found an invalid API key - AndroidStudio build
Crashlytics found an invalid API key : null. Check the Crashlytics plugin to make sure that the application has been added successfully!
Read more >
Crashlytics found an invalid API key: null error #43 - GitHub
Got this error as soon as I tried to build the app: Crashlytics found an invalid API key: null. Check the Crashlytics plugin...
Read more >
crashlytics found an invalid api key: null. - YouTube
crashlytics found an invalid api key : null.In Short Answer is upgrade your google-services Fromclasspath ...
Read more >
Crashlytics found an invalid API key – AndroidStudio build
This is my error: ERROR - Crashlytics Developer Tools error. java.lang.IllegalArgumentException: Crashlytics found an invalid API key: REAL_APIKEY_VALUE. Check ...
Read more >
How To Change The Crashlytics Apikey Inserted Into My ...
ERROR Crashlytics Developer Tools error. java.lang.IllegalArgumentException: Crashlytics found an invalid API key: null. Check the Crashlytics plugin to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found