Hi, I'm trying to run the GroundPlane example using Android Studio 3.1 on a virtual Pixel 2 with API 27.
According to the list of the "Supported devices" the Pixel 2 is supported, but I get always the error "Failed to initialize Device Tracker" when trying to init the PositionalDeviceTracker.
Using only the SmartTerrain tracker without the PositionalDeviceTracker the app starts, but it doesn't work and doesn't do anything. Using the Logcat in Android Studio debugger I'm getting only these outputs:
...
05-02 12:56:24.052 6517-6705/? I/GroundPlaneRenderer: Hit test returned no results
05-02 12:56:24.090 6517-6705/? I/GroundPlaneRenderer: No trackables
05-02 12:56:24.154 6517-6705/? I/GroundPlaneRenderer: Perform hit test with normalized touch point (0.5, 0.5)
05-02 12:56:24.190 6517-6705/? I/GroundPlaneRenderer: Hit test returned no results
05-02 12:56:24.226 6517-6705/? I/GroundPlaneRenderer: No trackables
...
What can I do to make it working?
Thanks in advance for your help and your time
Hello Davide,
Apologies for missing this on my first reading of your post, but I noticed you are saying a virtual Pixel 2. Is this a simulation of the device? If so, this will not work with Ground Plane as this feature, and specifically the positional device tracker, relies on the device hardware.
Thanks,
Vuforia Support