我的应用程序在使用此版本的依赖项时运行得非常好,如下所述,但是当迁移到最新版本的 Firestore 依赖项时,我的应用程序无法在 Firestore 中添加或删除数据,我知道最新的依赖项不需要 firebase-core 依赖项,尽管遵循官方文档中提到的所有要求的 firebase,我的应用程序仍然无法使用最新的依赖项,但可以与下面提到的依赖项完美配合
我想使用 FirestoreUI 这就是为什么将我的项目迁移到最新版本的原因,我还尝试了本网站中提到的发行说明传递依赖项标准, https://github.com/firebase/FirebaseUI-Android/releases
但是仍然显示此错误,请帮助我我从我这边尝试所有可能的事情,我希望我们的 StackOverflow 家庭帮助新来的开发人员
感谢您的宝贵时间...快乐编码:)
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.google.firebase:firebase-core:16.0.4'
implementation 'com.google.firebase:firebase-firestore:17.1.2'
implementation 'com.google.firebase:firebase-auth:16.0.5'
implementation 'com.firebaseui:firebase-ui-auth:6.2.0'
implementation 'com.google.android.material:material:1.2.0-alpha06'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
Run Code Online (Sandbox Code Playgroud)
将数据添加到最新版本的 Firestore 时,反复显示此错误(下文提及),
implementation 'com.google.firebase:firebase-firestore:17.1.2'
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity state: CONNECTING
I/Firestore: (21.4.1) [GrpcCallProvider]: Setting the connectivityAttemptTimer
I/Firestore: (21.4.1) [GrpcCallProvider]: connectivityAttemptTimer elapsed. Resetting the channel.
I/Firestore: (21.4.1) [GrpcCallProvider]: Clearing the connectivityAttemptTimer
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity …Run Code Online (Sandbox Code Playgroud) dependencies firebase android-studio grpc-java google-cloud-firestore