Unable to build Android app FabricGenerateResourcesDebug

人盡茶涼 提交于 2019-11-28 02:51:31

问题


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?


回答1:


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.




回答2:


The fix I found is that I did not place the meta-data tag with the API Key INSIDE the application tag in the androidmanifest.xml.



来源:https://stackoverflow.com/questions/28891325/unable-to-build-android-app-fabricgenerateresourcesdebug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!