Android:使用com.google.firebase:firebase-auth:9.4.0将Android Studio升级到2.2后,找不到FirebaseUser,AuthCredential等. [英] Android: FirebaseUser, AuthCredential and others not found after Android Studio upgrade to 2.2 with com.google.firebase:firebase-auth:9.4.0
问题描述
我刚刚将Android Studio升级到了2.2版,目前处于稳定状态.
I just upgraded Android Studio to version 2.2, I'm on the stable channel.
然后我通过将compile 'com.google.firebase:firebase-auth:x.x.x'
的版本更改为9.4.0
(当前是最新版本)来调整build.grade文件.
I then adjusted the build.grade file by bumping the version of compile 'com.google.firebase:firebase-auth:x.x.x'
to 9.4.0
, which is currently the latest version.
同步项目后,我将无法使用
After syncing the project I am no longer able to use
import com.google.firebase.auth.AuthCredential;
import com.google.firebase.auth.AuthResult;
和
import com.google.firebase.auth.FirebaseUser;
Firebase的在线文档未提及与此问题相关的任何内容.
The online docs for Firebase don't mention anything related to this issue.
这可能是怎么回事?
推荐答案
当前已发布新版本
com.google.firebase:firebase-core:10.2.1 Analytics
com.google.firebase:firebase-database:10.2.1 Realtime Database
com.google.firebase:firebase-storage:10.2.1 Storage
com.google.firebase:firebase-crash:10.2.1 Crash Reporting
com.google.firebase:firebase-auth:10.2.1 Authentication
com.google.firebase:firebase-messaging:10.2.1 Cloud Messaging and Notifications
com.google.firebase:firebase-config:10.2.1 Remote Config
com.google.firebase:firebase-invites:10.2.1 Invites and Dynamic Links
com.google.firebase:firebase-ads:10.2.1 AdMob
com.google.firebase:firebase-appindexing:10.2.1 App Indexing
我希望这可能会幸福!
这篇关于Android:使用com.google.firebase:firebase-auth:9.4.0将Android Studio升级到2.2后,找不到FirebaseUser,AuthCredential等.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!