Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
根据 Google I/O 2016,我知道“Firebase”,它对我来说非常好,但我不能使用它,因为这个错误。我有一个解决方案,将“Google play services”更新到 30,但没有更新提示。
您必须更新您的 SDK 管理器
你也必须使用
classpath 'com.google.gms:google-services:3.0.0'
在您的buildscript块中,此版本必须与 Google Play 服务 9.0 (+) 一起使用。
buildscript
尝试这个
com.google.firebase:firebase-core:9.0.0
代替
com.google.firebase:firebase-analytics:9.0.0