我刚刚将Android Studio升级到版本2.2,我在稳定频道上。Android:使用com.google.firebase将Android Studio升级到2.2后未找到FirebaseUser,AuthCredential和其他设备:firebase-auth:9.4.0
然后我通过将compile 'com.google.firebase:firebase-auth:x.x.x'
的版本碰撞到9.4.0
(这是当前最新版本)来调整build.grade文件。
同步项目后我不再能够使用
import com.google.firebase.auth.AuthCredential;
import com.google.firebase.auth.AuthResult;
和
import com.google.firebase.auth.FirebaseUser;
在线文档的火力地堡没有提到此问题相关的任何东西。
这里可能会发生什么?
非常好,感谢您的信息。我误以为增加了'com.google.firebase:firebase-auth'的版本,但那不是真的(我的错误),我增加了'com.google.android.gms:play-services-auth' 9.6.1。但联机文档提到了Firebase 9.4.0,好像它是当前版本。现在正在工作 –