Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

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

Open
rysenko opened this issue Jun 22, 2023 · 3 comments
Open

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

rysenko opened this issue Jun 22, 2023 · 3 comments

Comments

@rysenko
Copy link

rysenko commented Jun 22, 2023

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.

@AppMetricaSupport
Copy link

AppMetricaSupport commented Jun 22, 2023 via email

@AppMetricaSupport
Copy link

AppMetricaSupport commented Aug 25, 2023

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?
    

@Avatarchik
Copy link

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

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

No branches or pull requests

3 participants