The hello_xr sample project is located in the src tests hello_xr folder: C:\<path_to_core_OpenXR_SDK_folder>\OpenXR-SDK-Source-main\src\tests\hello_xr.
Open hello_xr Project
In Android Studio, select Open.
Navigate to the hello_xr folder, for example in C:\<path_to_core_OpenXR_SDK_folder>\OpenXR-SDK-Source-main\src\tests\hello_xr.
Click OK.
Build The OpenXR SDK
Follow the steps in the C:\<path_to_core_OpenXR_SDK_folder>\OpenXR-SDK-Source-main\BUILDING.md to configure and compile the SDK.
Run App
If the run icon is not visible in Android Studio, select Sync Project with Gradle Files.
When the app loads, you see a few colored cubes in VR. One cube is locked at the center of your viewport and pinned to the headset’s pose. Two other cubes are attached to the left or right controller. You can adjust the size of these two cubes by squeezing the Grip Buttons.