мое приложение отлично работает при использовании зависимостей с этой версией, как указано ниже, но при переходе на последнюю версию зависимости Firestore мое приложение не может добавлять или удалять данные в Firestore, я знаю, что самой последней зависимости не требуется firebase -core dependency, хотя в соответствии со всем, что требуется для упоминания 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'
неоднократно показывая эту ошибку (упомяните ниже) при добавлении данных в 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 state: SHUTDOWN
I/Firestore: (21.4.1) [WriteStream]: stream callback skipped by CloseGuardedRunner.
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule: Local module descriptor class for providerinstaller not found.
I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity state: IDLE
I/Firestore: (21.4.1) [GrpcCallProvider]: Channel successfully reset.
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream is open
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream sending: # com.google.firestore.v1.WriteRequest@1f41a322
database: "projects/notes-2e3bb/databases/(default)"
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 state: SHUTDOWN
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule: Local module descriptor class for providerinstaller not found.
I/Firestore: (21.4.1) [ExponentialBackoff]: Backing off for 0 ms (base delay: 1000 ms, delay with jitter: 509 ms, last attempt: 15181 ms ago)
I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity state: IDLE
I/Firestore: (21.4.1) [GrpcCallProvider]: Channel successfully reset.
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream is open
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream sending: # com.google.firestore.v1.WriteRequest@1f41a322
database: "projects/notes-2e3bb/databases/(default)"
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 state: SHUTDOWN
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule: Local module descriptor class for providerinstaller not found.
I/Firestore: (21.4.1) [ExponentialBackoff]: Backing off for 0 ms (base delay: 1000 ms, delay with jitter: 509 ms, last attempt: 15181 ms ago)
I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity state: IDLE
I/Firestore: (21.4.1) [GrpcCallProvider]: Channel successfully reset.
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream is open
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream sending: # com.google.firestore.v1.WriteRequest@1f41a322
database: "projects/notes-2e3bb/databases/(default)"
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 state: SHUTDOWN
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream closed with status: Status{code=UNAVAILABLE, description=Channel shutdownNow invoked, cause=null}.
W/DynamiteModule: Local module descriptor class for providerinstaller not found.
I/Firestore: (21.4.1) [ExponentialBackoff]: Backing off for 0 ms (base delay: 1500 ms, delay with jitter: 1741 ms, last attempt: 15170 ms ago)
I/DynamiteModule: Considering local module providerinstaller:0 and remote module providerinstaller:0
W/ProviderInstaller: Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0.
I/Firestore: (21.4.1) [GrpcCallProvider]: Current gRPC connectivity state: IDLE
I/Firestore: (21.4.1) [GrpcCallProvider]: Channel successfully reset.
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream is open
I/Firestore: (21.4.1) [WriteStream]: (2b0984f) Stream sending: # com.google.firestore.v1.WriteRequest@1f41a322
```