问题
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