Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException: Duplicate class после подключения firebase crashlytics #216

Open
mrgaric opened this issue Oct 5, 2020 · 2 comments

Comments

@mrgaric
Copy link

mrgaric commented Oct 5, 2020

После подключения firebase crashlytics (https://firebase.google.com/docs/crashlytics/upgrade-sdk?authuser=0&platform=android) появилась ошибка во время билда:

1 exception was raised by workers:
  java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class com.google.android.gms.common.api.internal.zza found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.api.internal.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.api.internal.zzc found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.api.internal.zzd found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.api.zza found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.api.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.internal.zzb found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.internal.zzr found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)
  Duplicate class com.google.android.gms.common.internal.zzs found in modules classes.jar (com.google.android.gms:play-services-base:11.6.2) and classes.jar (com.google.android.gms:play-services-basement:17.0.0)

В проекте подключен mapKit (com.yandex.android:mapkit:3.5.0), после его отключения проект собирается успешно.

@Mura75
Copy link

Mura75 commented May 31, 2021

I have the same conflicts in my code.

@YandexMapKit
Copy link
Collaborator

Пожалуйста, пришлите нам минимальный собранный пример, демонстрирующий описанную ситуацию. Вы можете выложить его проектом на GitHub, прикрепить к переписке в архиве или загрузить на Яндекс Диск и указать ссылку.

Мы постараемся помочь.

--

If you can, send us a minimal compiled example, that demonstrates the situation. It can be uploaded on GitHub, attached to mail as an archive, or uploaded to Yandex Disk and sent to us via link.

We will try to find a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants