无法构建代码出错。
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/