【问题标题】:How to add firebase to android project with Google Play Services 14.x如何使用 Google Play Services 14.x 将 firebase 添加到 android 项目
【发布时间】:2019-01-06 14:25:56
【问题描述】:

我想将 firebase 添加到我的 react-native 项目中。 正如documentation 所说,它需要一台运行 Google Play 服务 15.0.0 或更高版本的设备。

我有一台装有 Google Play 服务 14.7.99 版的设备,它是我设备的最新版本。 (据我了解,Google Play 服务的最新版本因设备而异)

那么有没有办法在具有 Google Play 服务版本 14 的设备中使用 firebase?

提前谢谢

【问题讨论】:

  • 您引用的文档的哪一部分以“否”回答您的问题不清楚?
  • @Tim 我想知道是否有像降级 firebase 或 google-services 库这样的解决方案可以在旧设备上使用。
  • 您可能想试一试 Firebase SDK 的 12.x 版本。见firebase.google.com/support/release-notes/android#20180328

标签: android firebase react-native react-native-android


【解决方案1】:

正如它在文档中明确指出的那样

正在运行的设备:

  • Android 4.1(API 级别 14,Jelly Bean)或更高版本
  • Google Play 服务 15.0.0 或更高版本

如果您的设备无法运行 Google Play Services 15.0.0 或更高版本,则无法让 Firebase 在该设备上运行。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-06-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-11-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多