【问题标题】:Could not find any version that matches com.google.firebase:firebase-messaging:16.0.+找不到任何与 com.google.firebase:firebase-messaging:16.0.+ 匹配的版本
【发布时间】:2019-10-21 11:01:50
【问题描述】:

在我的工作项目中,我突然遇到了这个问题。我没有更新任何东西。

错误:无法解析 ':app@developmentDebug/compileClasspath' 的依赖关系:找不到任何与 com.google.firebase:firebase-messaging:16.0.+ 匹配的版本。 显示详细资料 受影响的模块:app

【问题讨论】:

标签: android firebase


【解决方案1】:

版本 com.google.firebase:firebase-messaging:16.x.x 不存在在 google maven repo 中。

您可以查看the repo
使用现有版本之一。

【讨论】:

    【解决方案2】:

    避免在版本号中使用 +。

    试试这个:

    implementation 'com.google.firebase:firebase-messaging:20.0.0'
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-11-10
      • 2020-07-27
      • 1970-01-01
      • 1970-01-01
      • 2016-04-21
      • 1970-01-01
      • 2020-08-14
      • 1970-01-01
      相关资源
      最近更新 更多