metrica-plugin-unity
metrica-plugin-unity copied to clipboard
Android app cannot be built if Unity XR is present in project
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.
Добрый день!Ваше письмо получено и зарегистрировано под уникальным номером № 24742024. Ответ обязательно будет предоставлен, пожалуйста, ожидайте.Просим Вас не отправлять повторное письмо по данному вопросу - оно будет считаться новой заявкой и может быть обработано позднее.Помощь сервиса: https://yandex.ru/support/direct/?from=email--С уважением,Отдел клиентского сервисател.: 8 800 234-24-80 (звонок из регионов России бесплатный)тел.: +7 495 739-37-77 22.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: @.***>
Hello!
Please provide further details:
-
Which version of the AppMetrica Unity SDK are you trying to use?
-
Which version of ARCore are you using?
-
Which version of Unity are you using?
-
Could you please provide the full error stack trace in a text file?
I have a similar problem, when the project has AR Core, is there a solution?