This site has been permanently archived. The content on this site was last updated in 2019.
Getting started with the Android NDK for see-through
This guide shows you how to set up Google VR development with the Android NDK
and build the HelloVRBeta sample app. This app is designed to help you learn
about working with the see-through mode technology as well as the experimental
6DoF controllers and faceplate.
- Download and install the latest version of
gvr-android-sdk\*.zip
from the
releases page.
Follow these steps to build and run the HelloVRBeta sample app.
The requirements and steps to build the sample app using the NDK are nearly the same
as building the HelloVR sample app for the SDK, with the following key changes:
- Download the latest version of the
Android NDK.
Extract the NDK .so
files by running:
./gradlew :extractNdk
In settings.gradle
, uncomment the following line:
include ':samples:ndk-hellovrbeta'
To build and run the sample app in Android Studio, select samples-ndk-hellovrbeta as your target.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["This guide helps you set up Google VR development using the Android NDK."],["You will learn to build and run the HelloVRBeta sample app, showcasing see-through mode, 6DoF controllers, and faceplate features."],["The process involves downloading the gvr-android-sdk, Android NDK, and configuring the sample app within Android Studio."]]],["To develop Google VR with the Android NDK, download the `gvr-android-sdk` and the Android NDK. Then, build and run the HelloVRBeta sample app. Extract NDK `.so` files with `./gradlew :extractNdk`. In `settings.gradle`, uncomment `include ':samples:ndk-hellovrbeta'`. Finally, in Android Studio, target `samples-ndk-hellovrbeta` to build and run. The HelloVRBeta app demonstrates see-through mode, 6DoF controllers, and faceplate technology.\n"]]