Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to build Android app FabricGenerateResourcesDebug

I'm trying to integrate twitter's sdk with my app. I'm following this guide.

Unfortunately, when I try to build my project, I keep receiving this error:

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

Unfortunately because I don't have 10 reputation, I can't post my build.gradle file because it has links in it. Just trust the fact that it looks just like the build.gradle example in the top link provided.

Is there something that I'm missing that I may have overlooked?

like image 333
hexley Avatar asked Mar 06 '15 02:03

hexley


1 Answers

Your problem should be caused due to that you did not create a “crashlytics.properties” file which is required to contain API Key and Build Secret in your app directory.

The solution is quite simple that you don't even have to manually setup anything on your original project. Just following this link:

https://fabric.io/settings/organizations

It will lead you to the Fabric official website, which helps you to download and install Fabric plugins into your IDE (Android Studio, IntelliJ or Eclipse). This might be a new magical method to integrate twitter's SDK within your app, it will automatically configure your project. You will see the magic when you get there.

Hope it helps.

like image 153
Max Lee Avatar answered Nov 01 '22 06:11

Max Lee