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
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
I was facing the exact same exception, but I had the key/secret set in the right places.
What happened was I upgraded Android Studio from 1.5 to 2.2, and I started getting this error.
The only way I could get rid of the error was to delete the whole project and git clone it again. After doing this, the project compiled fine.
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.