Failed to resolve: com.google.firebase:firebase-auth:9.0.0 [duplicate]

依然范特西╮ 提交于 2019-12-19 03:24:28

问题


As per Firebase codelab Android tutorial,while adding com.google.firebase:firebase-auth:9.0.0 in build.gradle dependencies, getting below error:

Error:(28, 13) Failed to resolve: com.google.firebase:firebase-auth:9.0.0

See below screenshot:


回答1:


The 9.0.0 version of Firebase was built using Google Play services 9.0

While adding compile 'com.google.android.gms:play-services:9.0.0' into my build.gradle, gradle sync successfully.

I found my answer here.



来源:https://stackoverflow.com/questions/37382907/failed-to-resolve-com-google-firebasefirebase-auth9-0-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!