Can't build Google Tango demo scenes on 2017.2.0b9

Using 2017.2.0b9 with the new XR project settings to build the Tango demos on an Asus Zenfone AR. If I check the Tango enabled box in XR settings the build fails with this error:

CommandInvokationFailure: Unable to convert classes into dex format.
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java -Xmx2048M -Dcom.android.sdkmanager.toolsdir="/Users/samssonart/Library/Android/sdk/tools" -Dfile.encoding=UTF8 -jar "/Applications/Unity/PlaybackEngines/AndroidPlayer/Tools/sdktools.jar" -

stderr[
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tango/TangoClientLibLoader;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tango/TangoJNINative;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangohelperlib/BuildConfig;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/Tango;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/Tango$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/Tango$OnFrameAvailableListener;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/Tango$OnTangoUpdateListener;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/TangoAreaDescriptionMetaData;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/google/atap/tangoservice/TangoAreaDescriptionMetaData$1;

From what I understand it means that the Tango library is being added twice, but if I don’t check the box the build finishes successfully but the app crashes on startup. Thoughts?

Yep… the only way I was able to get it to work was to roll back to 5.6

Then the demo/examples compile fine (I was able to mod one to create an AR demo / prototype)

How did you do it with 5.6? I made a build but just shows a black screen in many of the scenes like the marker recognition scene, noone scene works