[英]Use 'com.google.firebase:firebase-analytics' for Firebase Analytics?
Although the Firebase Get Started guide and the Analytics Get Started guide both specify inclusion of com.google.firebase:firebase-core:9.XX
for Firebase Analytics, the build.gradle for the sample app uses the com.google.firebase:firebase-analytics:9.4.0
library. 虽然Firebase入门指南和Google Analytics入门指南都指定包含
com.google.firebase:firebase-core:9.XX
for Firebase Analytics, 但示例应用的build.gradle使用com.google.firebase:firebase-analytics:9.4.0
库。 This answer to a related question indicates they are essentially the same. 这个答案对一个相关的问题表明,他们基本上是相同的。 Is there a reason to use one or the other for Analytics?
是否有理由将其中一个用于Google Analytics?
The com.google.firebase:firebase-core
has com.google.firebase:firebase-analytics
contained. com.google.firebase:firebase-core
包含com.google.firebase:firebase-analytics
。 There is no difference but documentation suggests the use of the core
to implement Analytics . 没有区别,但文档建议使用
core
来实现Analytics 。 Check previous post related to this: 查看与此相关的上一篇文章:
What the difference in firebase-core and firebase-analytics libraray? firebase-core和firebase-analytics libraray的区别是什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.