Проблема с переносом приложения android на Firebase Crashlytics - PullRequest
0 голосов
/ 03 августа 2020

Я переношу существующее приложение android на firebase crashlytics. По состоянию на вчерашний день у меня возникла проблема с тем, что в консоли firebase не сообщалось о сбоях, пока реализация работала. Я думаю, что возникла проблема с зависимостью sdk firebase. Я попытался изменить версии зависимостей библиотеки в файлах build.gradle, чтобы обойти эту проблему, но теперь я получаю эту ошибку на консоли:

    In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[17.1.
2]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.

Dependency failing: com.google.firebase:firebase-messaging:17.6.0 -> com.google.firebase:firebase-       iid@[17.1.2], but fire
base-iid version was 20.1.5.

The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the artifact with the issue.
-- Project 'app' depends onto com.google.firebase:firebase-crashlytics@{strictly 17.0.0}
-- Project 'app' depends onto io.intercom.android:intercom-sdk-fcm@{strictly 5.5.1}
-- Project 'app' depends onto com.google.firebase:firebase-analytics-impl@{strictly 16.3.0}
-- Project 'app' depends onto com.google.firebase:firebase-messaging@17.6.0
-- Project 'app' depends onto com.google.firebase:firebase-analytics@16.3.0
-- Project 'app' depends onto com.google.firebase:firebase-messaging@{strictly 17.6.0}
-- Project 'app' depends onto io.intercom.android:intercom-sdk-fcm@5.+
-- Project 'app' depends onto com.google.firebase:firebase-iid@{strictly 20.1.5}
-- Project 'app' depends onto com.google.firebase:firebase-crashlytics@17.0.0
-- Project 'app' depends onto com.google.android.gms:play-services-measurement-api@{strictly 16.3.0}
-- Project 'app' depends onto com.google.firebase:firebase-analytics@{strictly 16.3.0}
-- Project 'app' depends onto com.google.firebase:firebase-iid@20.1.5

For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
uild.gradle file.

Есть идеи, как мне действовать? Нужно ли мне менять версию зависимости SDK crashlytics: implementation 'com.google.firebase: firebase-crashlytics: 17.0.0'

1 Ответ

0 голосов
/ 03 августа 2020

Обновление ваших версий должно устранить ошибку go. Если после этого вы не видите сбоев, появляющихся на вашей панели инструментов, либо напишите в Firebase Support , либо опубликуйте снимок экрана своего debug cra sh log.

...