【发布时间】:2019-05-11 17:32:04
【问题描述】:
无法构建代码出错。
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' 已经添加了。
google(),jcentre 仓库添加到 build.gradle 文件中。
【问题讨论】:
-
请编辑您的问题以显示重现此问题的整个最小 build.gradle 配置。
-
这听起来与 Google Play 服务插件的问题有关(但不完全相同)。 jCenter 中缺少最新版本的构建工件。它正在被调查。 stackoverflow.com/questions/53706565/…
标签: android firebase android-studio android-gradle-plugin