wikitude-sdk-samples | Code Examples what can be | SDK library
kandi X-RAY | wikitude-sdk-samples Summary
kandi X-RAY | wikitude-sdk-samples Summary
by Wikitude GmbH - www.wikitude.com. Sample content for the Wikitude SDK JavaScript API.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of wikitude-sdk-samples
wikitude-sdk-samples Key Features
wikitude-sdk-samples Examples and Code Snippets
Community Discussions
Trending Discussions on wikitude-sdk-samples
QUESTION
I'm running Xamarin.Wikitude.SDK.JS
plugin, version 8.6.0 on a Xamarin.Android
Project.
When loading the Wikitude provided example, the app crashes.
The example is https://github.com/Wikitude/wikitude-sdk-samples/tree/master/05_InstantTracking_3_Interactivity
I've added code to check if ARCore is installed. If not an alert is shown so users can install ARCore if the device is supported.
Here is the console Output:
No pending exception expected: java.lang.NoSuchMethodError: No virtual method setLightEstimationMode(Lcom/google/ar/core/Config$LightEstimationMode;)V in class Lcom/google/ar/core/Config; or its super classes (declaration of 'com.google.ar.core.Config' appears in /data/app/XXXXXXXXXXXXXXXX-2o7U_ByKTJBW9vPIXZeXHA==/base.apk) at com.google.ar.core.Config com.wikitude.common.arcore.internal.ArCoreTracker.k() (SourceFile:462) at void com.wikitude.common.arcore.internal.ArCoreTracker.a() (SourceFile:177) at void com.wikitude.common.arcore.internal.NativeArCoreInterface.start() (SourceFile:42) at void com.wikitude.common.camera.internal.NativeCameraInterface.nativeCameraReleased(long) (SourceFile:-2) at void com.wikitude.common.camera.internal.NativeCameraInterface.b() (SourceFile:194) at void com.wikitude.common.camera.internal.DeviceCamera2.l() (SourceFile:368) at void com.wikitude.common.camera.internal.d.b() (SourceFile:85) at void com.wikitude.common.camera.internal.NativeCameraInterface.doStop() (SourceFile:37) at void com.wikitude.architect.PlatformBridge.callAsyncImplInternal(long, java.lang.String) (SourceFile:-2) at void com.wikitude.architect.PlatformBridge.callAsyncImpl(java.lang.String) (SourceFile:134) at void com.wikitude.architect.PlatformBridge$a.a(java.util.List, int) (SourceFile:66) at void com.wikitude.architect.PlatformBridge$a.run() (SourceFile:40)
I've tried another example without AR (ImageOnTarget) and it's working so I suppose Wikitude is correctly configured.
...ANSWER
Answered 2019-Aug-09 at 10:18I've found out!
The problem was the package Xamarin.Google.ARCore
used to check if device supports AR and user had installed ARCore.
This plugin conflicts with Wikitude SDK so after removing it, Wikitude AR started working
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wikitude-sdk-samples
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page