我正在使用Firebase云消息传递进行该项目,在tutorial之后,每次运行该程序时都会收到错误消息。请我需要帮助。如何解决错误找不到com.google.gms.google-services:3.0.0?
Error:A problem occurred configuring root project 'e'. Could not resolve all dependencies for configuration ':classpath'. Could not find com.google.gms.google-services:3.0.0:. Searched in the following locations: file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/3.0.0//3.0.0-.pom file:/C:/Program Files/Android/Android Studio/gradle/m2repository/com/google/gms/google-services/3.0.0//3.0.0-.jar https://jcenter.bintray.com/com/google/gms/google-services/3.0.0//3.0.0-.pom https://jcenter.bintray.com/com/google/gms/google-services/3.0.0//3.0.0-.jar file:/C:/Users/e/.m2/repository/com/google/gms/google-services/3.0.0//3.0.0-.pom file:/C:/Users//.m2/repository/com/google/gms/google-services/3.0.0//3.0.0-.jar Required by: project :
的可能重复:http://stackoverflow.com/q/40018916/4815718。确保在项目build.gradle的存储库列表中有'jcenter()'。 –
[Firebase Android Studio coudn't find com.google.gsm:google-services:3.0.0]可能的重复(http://stackoverflow.com/questions/40018916/firebase-android-studio-coudnt-find-com -Google-gsmgoogle-services3-0-0) –