简体   繁体   English

对Firebase Analytics使用“com.google.firebase:firebase-analytics”?

[英]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.

相关问题 无法解析:com.google.firebase:firebase-analytics:19.0.0 - Failed to resolve: com.google.firebase:firebase-analytics:19.0.0 “找不到 com.google.firebase:firebase 分析” - "Could not find com.google.firebase:firebase-analytics" 找不到 com.google.firebase:firebase-analytics: - Could not find com.google.firebase:firebase-analytics: 无法解析 com.google.firebase:firebase-analytics:16.5.0 - Could not resolve com.google.firebase:firebase-analytics:16.5.0 其他各种库都在请求库com.google.firebase:firebase-analytics - The library com.google.firebase:firebase-analytics is being requested by various other libraries 包括“implementation 'com.google.firebase:firebase-analytics:17.4.4'”会导致应用程序在每次启动时崩溃 - Including "implementation 'com.google.firebase:firebase-analytics:17.4.4'" causes app to crash at startup every time 清单合并失败依赖于 com.google.firebase:firebase-analytics:17.2.2 - Manifest merger failed on dependency com.google.firebase:firebase-analytics:17.2.2 添加实现 'com.google.firebase:firebase-analytics:17.2.2' 使实现 'com.android.support:appcompat-v7:28.0.0' 用红色下划线 - adding implementation 'com.google.firebase:firebase-analytics:17.2.2' make implementation 'com.android.support:appcompat-v7:28.0.0' underlined in red 如何从 Google-Analytics 迁移到 Firebase-Analytics? - How to move from Google-Analytics to Firebase-Analytics? 同步“com.google.firebase:firebase-analytics@17.2.2”时出现构建错误 - Build error while syncing 'com.google.firebase:firebase-analytics@17.2.2'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM