无法添加 FCM:无法解析 com.google.firebase:firebase-auth:9.0.2,尽管我已经更新了我的 google 播放服务
Unable to add FCM : failed to resolve com.google.firebase:firebase-auth:9.0.2, though I have updated my google play services
当我尝试添加时 compile "com.google.firebase:firebase-auth:9.0.2"
在我的 build.gradle(app)
它显示以下错误
Error:Failed to resolve: com.google.firebase:firebase-auth:9.0.2
<a href="openFile:/home/admin/Downloads/ZaakItPartner/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
注意:我已经更新了我的 google 播放服务。
终于得到了
需要更新: Google Play Services (rev 30) and Google Repository (rev 26)
build.gradle(应用程序):
dependencies { compile "com.google.firebase:firebase-auth:9.0.2"}
apply plugin: 'com.google.gms.google-services'
build.gradle(项目):
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
当我尝试添加时 compile "com.google.firebase:firebase-auth:9.0.2"
在我的 build.gradle(app)
它显示以下错误
Error:Failed to resolve: com.google.firebase:firebase-auth:9.0.2
<a href="openFile:/home/admin/Downloads/ZaakItPartner/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
注意:我已经更新了我的 google 播放服务。
终于得到了
需要更新: Google Play Services (rev 30) and Google Repository (rev 26)
build.gradle(应用程序):
dependencies { compile "com.google.firebase:firebase-auth:9.0.2"}
apply plugin: 'com.google.gms.google-services'
build.gradle(项目):
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}