FIrebase Cloud Messaging无法解析依赖关系com.google.firebase:firebase-core:9.0.2

时间:2016-06-08 10:20:32

标签: android google-cloud-messaging firebase-cloud-messaging

我尝试按照here给出的指南使用Firebase云消息编写应用程序,但我在添加实现FCM的依赖项时遇到了困难(com.google.firebase:firebase-core: 9.0.2)。每次我尝试通过项目结构添加它时,它都不会在搜索结果中列出依赖项。当我尝试在app level gradle中添加它时,它会给我一个错误,即无法解决依赖关系。我不知道我哪里出错了,但请帮我解决这个问题。

1 个答案:

答案 0 :(得分:3)

从SDK管理器下载更新。我遇到过同样的问题。从SDK管理器更新 Google Play服务 Google Repository 为我工作。

相关问题