Using ARCore with Vuforia Engine for Native¶
Vuforia Engine can leverage Google's ARCore on devices that support it. Take advantage of ARCore for Ground Plane and Device Tracking (including Extended Tracking) features by enabling ARCore in your project.
Using ARCore on devices where it is supported is encouraged. Consider also if your AR app should have ARCore as a requirement or optional depending on the set of devices that you wish to target.
Add Android Dependency¶
Prerequisites¶
For the latest supported Android Studio, SDK Build Tools, Gradle, and NDK, please refer to Supported Versions. For more information on enabling ARCore, please refer to the Android Developer Portal.
Enabling ARCore¶
-
Open
AndroidManifest.xmland add the following within the<application>element: -
Edit
(root) build.gradleand ensure that each of therepositorieselements includes an entry forgoogle(): -
Also in
(root) build.gradle, ensure that thedependencieselement references the latest supported Gradle tools: -
Edit
app/build.gradleand confirm that thedependencieselement references the ARCore client library. Here, you may also set ARCore to a specific version. The version must be the minimum supported or later that Vuforia Engine supports: