Search code examples
androidcrash-reportscrashlyticserror-logging

Invalid API Key from Crashlytics


Updated to Android Studio 1.4 Preview and the new SDK and now I get a:

ERROR - Crashlytics Developer Tools error.
java.lang.IllegalArgumentException: Crashlytics found an invalid API key: null.

I already uninstalled Fabric, Installed it again, and updated Crashlytics from it

Any ideeas what I should do?

This is my build.gradle: http://pastebin.com/VPHpRJte

This is my androidManifest: http://pastebin.com/Nmdeasx8

My API KEY in Manifest:

android:name="com.crashlytics.ApiKey" 
android:value="c13e89xxxxxxxxxxxxx1054b4a

In https://fabric.io/settings/organizations/ :

c13e89xxxxxxxxxxxxxxxxxbf1054b4a

Solution

  • Added the apiKEY inside the crashlytics.properties file like this:

    #Contains API Secret used to validate your application. Commit to internal source control; avoid making secret public.
    #Wed Jul 16 14:41:00 CEST 2014
    apiKey=c13e89c059cxxxxxxxxx32f2d48xxxxxxxa
    apiSecret=32192cxxxxxxxxxxxxxxxxxxxecf917b5xxxxxx1