metrica-plugin-unity icon indicating copy to clipboard operation
metrica-plugin-unity copied to clipboard

Android app cannot be built if Unity XR is present in project

Open rysenko opened this issue 1 year ago • 3 comments

While building a project with Unity XR and AppMertrica I get a class name conflict:

Execution failed for task ':launcher:checkReleaseDuplicateClasses'. java.lang.RuntimeException: Duplicate class a.a.a found in modules jetified-arcore_client-runtime.jar (:arcore_client:) and jetified-installreferrer-2.2-runtime.jar (com.android.installreferrer:installreferrer:2.2)

This is due to required dependency Install Referrer Library 2.2 that is obfuscated in the same way as native ARCore dependency in Unity.

rysenko avatar Jun 22 '23 10:06 rysenko

Добрый день!Ваше письмо получено и зарегистрировано под уникальным номером № 24742024. Ответ обязательно будет предоставлен, пожалуйста, ожидайте.Просим Вас не отправлять повторное письмо по данному вопросу - оно будет считаться новой заявкой и может быть обработано позднее.Помощь сервиса: https://yandex.ru/support/direct/?from=email--С уважением,Отдел клиентского сервисател.: 8 800 234-24-80 (звонок из регионов России бесплатный)тел.: +7 495 739-37-77&nbsp22.06.2023, 13:48, "Alexander Rysenko" @.***>: While building a project with Unity XR and AppMertrica I get a class name conflict: Execution failed for task ':launcher:checkReleaseDuplicateClasses'. java.lang.RuntimeException: Duplicate class a.a.a found in modules jetified-arcore_client-runtime.jar (:arcore_client:) and jetified-installreferrer-2.2-runtime.jar (com.android.installreferrer:installreferrer:2.2) This is due to required dependency Install Referrer Library 2.2 that is obfuscated in the same way as native ARCore dependeny in Unity.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

AppMetricaSupport avatar Jun 22 '23 10:06 AppMetricaSupport

Hello!

Please provide further details:

  1. Which version of the AppMetrica Unity SDK are you trying to use?
    
  2. Which version of ARCore are you using?
    
  3. Which version of Unity are you using?
    
  4. Could you please provide the full error stack trace in a text file?
    

AppMetricaSupport avatar Aug 25 '23 13:08 AppMetricaSupport

I have a similar problem, when the project has AR Core, is there a solution?

Avatarchik avatar Dec 05 '23 12:12 Avatarchik