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

孤人 提交于 2019-12-19 04:52:08

问题


According to Google I/O 2016,I know the "Firebase",it is very nice for me,but I can not use it because this error.I have get a solution that update "Google play services" to 30,but no update tips.


回答1:


You have to update your SDK Manager

Also you have to use

classpath 'com.google.gms:google-services:3.0.0'

in your buildscript block and this version has to work with Google Play services 9.0 (+).




回答2:


try this

com.google.firebase:firebase-core:9.0.0

instead of

com.google.firebase:firebase-analytics:9.0.0


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

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