简体   繁体   English

Android Crashlytics Eclipse:提交到git的内容是什么?

[英]Android Crashlytics Eclipse: what to commit to git?

I am very confused, 我很困扰,

I am working with Eclipse (that is a requirement), switched to the new Crashlytics (Fabric) and now I am very confused about what should and what shouldn't be committed to git.... 我正在使用Eclipse(这是必需的),切换到新的Crashlytics(Fabric),现在我对git应该做什么和不应该做什么感到非常困惑。

Please what are we supposed to add to git when we work with Crashlytics? 请在使用Crashlytics时向git添加什么?

What should be excluded? 应该排除什么?

It's been a while I moved from Eclipse to IDEA, my answer might not true for your setting. 我从Eclipse转到IDEA已经有一段时间了,对于您的设置,我的答案可能并不正确。

Generally, your fabric plugin for eclipse does everything. 通常,您的eclipse面料插件可以执行所有操作。 So you don't have to do something. 因此,您不必做任何事情。

You should exclude fabric.properties generated by fabric plugin. 您应该排除由Fabric插件生成的fabric.properties As I said, fabric plugin automatically add following lines to .gitignore where property file is located. 就像我说的那样,fabric插件会自动向属性文件所在的.gitignore添加以下行。

# fabric
fabric.properties

see https://docs.fabric.io/android/fabric/integration.html for further integration guide and https://docs.fabric.io/android/fabric/eclipse.html especially for eclipse 请参阅https://docs.fabric.io/android/fabric/integration.html以获得进一步的集成指南,以及https://docs.fabric.io/android/fabric/eclipse.html尤其是针对eclipse

Anywho, don't forget its time to move Android Studio. 谁都不要忘记移动Android Studio的时间。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM