On unity add ARFOUNDATION

0 votes
asked Dec 18, 2020 by ikaro88 (280 points)
Since the dense scene does not work on my device I need to add a simple motion tracking from the ARFoundation.
But when I try to add it to an easyarproject and compile I get a LOT of error:

* What went wrong:
Execution failed for task ':launcher:checkDebugDuplicateClasses'.
> 1 exception was raised by workers:
  java.lang.RuntimeException: Duplicate class a.a.a found in modules arcore-classes.jar (arcore-classes.jar) and arcore_client-runtime.jar (:arcore_client:)
  Duplicate class a.a.b found in modules arcore-classes.jar (arcore-classes.jar) and arcore_client-runtime.jar (:arcore_client:)

1 Answer

0 votes
answered Jan 3 by ikaro88 (280 points)
Solved by myself.
Just import ARFOUNDATION and disable the easyar library for arcore (i will test on ios, on android seems to work)

But i still have the problem on the dense map, please help
commented Feb 25 by kipash (100 points)
Hello, any updates on this?

When i disable or delete the libarcore_sdk_c and arcore-classes. I am able to build, there are no errors... it says that the VIO works, but the screen is black.

This is frustrating since i would love to switch between the SDKs based on the quality of the device.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...