Итак, раньше в моем проекте Android все работало нормально. У меня в папке lib было 2 библиотеки: для ident и для nuvei. Теперь я обновил библиотеку identt (что мне необходимо), и у меня также должна быть последняя версия библиотеки nuvei.
Приложение теперь не может быть собрано, и оно выдает следующее:
duplicate class found.
Duplicate class a.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class a.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class a.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.d found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.e found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.f found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.g found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class b.h found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.d found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.e found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class c.f found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class d.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Duplicate class d.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Go to the documentation to learn how to Fix dependency resolution errors.
Я понимаю, что происходит, но не могу это решить. Я разархивировал обе библиотеки и увидел, что имена их папок и классов действительно совпадают в одних и тех же местах.
У кого-нибудь есть хорошие идеи. Заранее спасибо!
Итак, раньше в моем проекте Android все работало нормально. У меня в папке lib было 2 библиотеки: для ident и для nuvei. Теперь я обновил библиотеку identt (что мне необходимо), и у меня также должна быть последняя версия библиотеки nuvei. Приложение теперь не может быть собрано, и оно выдает следующее: [code]duplicate class found.
Duplicate class a.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class a.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class a.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.d found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.e found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.f found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.g found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class b.h found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.c found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.d found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.e found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class c.f found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class d.a found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar) Duplicate class d.b found in modules jetified-IdenttWebView-1.1.0-release-runtime (IdenttWebView-1.1.0-release.aar) and jetified-nuvei-cashier-helper-runtime (nuvei-cashier-helper.aar)
Go to the documentation to learn how to Fix dependency resolution errors. [/code] Я понимаю, что происходит, но не могу это решить. Я разархивировал обе библиотеки и увидел, что имена их папок и классов действительно совпадают в одних и тех же местах. У кого-нибудь есть хорошие идеи. Заранее спасибо!