Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:Execution failed for task ':app:fabricGenerateResourcesDebug'. > Crashlytics Developer Tools error

Tags:

Trying to add Twitter Fabric SDK. I have added all dependencies suggested by Twitter.

Modified my build.gradle:

buildscript {     repositories {         jcenter()         maven { url 'https://maven.fabric.io/repo' }     }     dependencies {         classpath 'com.android.tools.build:gradle:0.13.3'         // The Fabric Gradle plugin uses an open ended version to         // react quickly to Android tooling updates        classpath 'io.fabric.tools:gradle:1.+'     } }  apply plugin: 'com.android.application'  //Put Fabric plugin after Android plugin apply plugin: 'io.fabric'  repositories {     jcenter()     maven { url 'https://maven.fabric.io/repo' } } 

When tries to synch got this error:

Error:Execution failed for task     ':app:fabricGenerateResourcesDebug'. > Crashlytics Developer Tools error. 

While project was build successful before modifying build.gradle file for Twitter SDK.

like image 603
kj007 Avatar asked Mar 02 '15 09:03

kj007


1 Answers

You need to add your API Key to the Android Manifest:

<application>     <meta-data         android:name="com.crashlytics.ApiKey"         android:value="your key here" /> </application> 

Same solution is provided here.

like image 106
krishna5688 Avatar answered Oct 06 '22 01:10

krishna5688