rosu alin rosu alin - 1 month ago 19
Android Question

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="c13e89c059c32c08041932f2d48b4e5bf1054b4a


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

c13e89c059c32c08041932f2d48b4e5bf1054b4a

Answer

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=c13e89c059c32c08041932f2d48b4e5bf1054b4a
apiSecret=32192c52c17506c06fff2a614e91332ceed330f0fc9a87decf917b5b85ddb561
Comments