gpt4 book ai didi

android - 如何将 Google Play 服务更新到 9.8.7

转载 作者:塔克拉玛干 更新时间:2023-11-02 07:59:39 25 4
gpt4 key购买 nike

我正在尝试在 android 项目中实现 firebase 但总是得到:
Google Play 服务已过时需要 9877000 但找到 9683480
我的 gradle 项目/应用程序文件如下所示:

...
compile 'com.google.firebase:firebase-core:9.8.0'
compile 'com.google.firebase:firebase-database:9.8.0'
compile 'com.google.firebase:firebase-auth:9.8.0'

}

apply plugin: 'com.google.gms.google-services'

dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.google.gms:google-services:3.0.0'

我使用 API 23 和目标创建了 Nexus S 模拟器:Android 6.0 (Google APIs) x86_64

内部模拟器 Google App Services 版本为 9.6.83

我应该怎么做才能运行 firebase,因为我不知道要安装或更新什么:/
我是 android 的新手,不知道我是否遗漏了一些小东西。

最佳答案

更新的 Android 工具(包含 Android Emulator 系统镜像)尚未发布。只有当它发布后,您的模拟器才会拥有 Google Play Services 9.8,这是 Firebase SDK 9.8 的先决条件。

如果您想在模拟器上进行测试,您必须暂时将您的应用降级到 Firebase SDK 9.6。

如果您部署到物理设备,它可能已经有最新版本。

关于android - 如何将 Google Play 服务更新到 9.8.7,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40249454/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com