将Firebase添加到android Studio无法解决 [英] Adding Firebase to android Studio fails to resolve

查看:46
本文介绍了将Firebase添加到android Studio无法解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Firebase引用添加到我的android应用中,但遇到以下问题:

I am trying to add Firebase references to my android app but facing the following problem:

无法解析:com.google.firebase:firebase-core:9.0.0

Failed to resolve :com.google.firebase:firebase-core:9.0.0

推荐答案

按照以下步骤

升级您的 Google Play服务 Google存储库.

在Android Studio中

In Android Studio

  • 点击工具> Android> SDK管理器
  • 点击进入"SDK工具"标签
  • 选择并安装Google Play服务和Google存储库
  • 同步并构建您的项目.

点击此链接可查看如何更新Google Play服务和存储库. https://developer.android.com/studio/intro/update.html

Follow this link to check how to update Google Play Services and Repository. https://developer.android.com/studio/intro/update.html

这篇关于将Firebase添加到android Studio无法解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆