我正在创建一个新项目,尝试从Google Firebase依赖项中实现一些功能,例如compile 'com.google.firebase:firebase-database:10.2.0',classpath 'com.google.gms:google-services:3.0.0',并将我的项目与它们同步。在尝试这样做时,我遇到了以下错误:
Error:(25, 13) Failed to resolve: com.google.firebase:firebase-database:10.2.0
<a href="openFile:M:/Downloads/CommunicationApp/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
还有这个错误:
Error:Failed to resolve: com.google.firebase:firebase-core:10.2.0
<a href="openFile:M:/Downloads/CommunicationApp/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
如果有人能够为我提供解决方案,万分感谢!