android - 错误 :Could not find com. google.firebase :firebase-plugins:1. 1.5

标签 android firebase android-studio android-gradle-plugin

无法构建代码出错。

CONFIGURE FAILED in 5s
Could not find com.google.firebase:firebase-plugins:1.1.5.
Searched in the following locations:
    https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://dl.google.com/dl/android/maven2/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
    https://jcenter.bintray.com/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://jcenter.bintray.com/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
    https://dl.bintray.com/android/android-tools/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.pom
    https://dl.bintray.com/android/android-tools/com/google/firebase/firebase-plugins/1.1.5/firebase-plugins-1.1.5.jar
Required by:
    project :

经过大量谷歌搜索后没有找到任何可行的解决方案。

顶级gradle文件 应用插件:'com.google.gms.google-services' 已经添加了。

在 build.gradle 文件中添加了 google(),jcentre 存储库。

最佳答案

今天早上我遇到了同样的问题,我决定将以下内容添加到我的项目的存储库 block 中:

jcenter {url 'https://firebase.bintray.com/gradle'}

关于android - 错误 :Could not find com. google.firebase :firebase-plugins:1. 1.5,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53712062/

相关文章:

android - TIdIOHandler.Write 程序不适用于移动设备

javascript - 从 firebase 检索当前用户数据

android - 单击刷新按钮刷新 Activity 内容

android - 播放新歌曲时收到IllegalStateException

javascript - 通过 Axios 向 Firebase Cloud Function 发送 POST 请求

firebase - 为用户组之间的安全规则构建 Firebase 数据

java - 包R错误

java - 在 WebView 内对齐 ImageView

java - 如何使用改造设置路径参数

android - 是否可以重用 Android 布局的外部元素?