Unable to build Android app FabricGenerateResourcesDebug

hexley picture hexley · Mar 6, 2015 · Viewed 10.2k times · Source

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?

Answer

Max Lee picture Max Lee · Mar 6, 2015

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.