KhronosGroup / KhronosGroup/OpenXR-SDK-Source
Build OpenXr-source-SDk for android
- Dominant language
- Python
- Stars
- 825
- Forks
- 306
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 1
Description
I am doing various thing for build openXr SDk for android device and run Hello_xr code, but i am not able to success, I am facing an error like this
can you please help me how build openXr for android
```
2024-10-03 11:45:06.428 9681-9712 OpenXR-Loader org.khronos.openxr.hello_xr.vulkan E Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeManifestFile::FindManifestFiles - failed to determine active runtime file path for this environment
2024-10-03 11:45:06.428 9681-9712 OpenXR-Loader org.khronos.openxr.hello_xr.vulkan E Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - unknown error
2024-10-03 11:45:06.428 9681-9712 OpenXR-Loader org.khronos.openxr.hello_xr.vulkan E Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : RuntimeInterface::LoadRuntimes - failed to load a runtime
2024-10-03 11:45:06.428 9681-9712 OpenXR-Loader org.khronos.openxr.hello_xr.vulkan E Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed to find default runtime with RuntimeInterface::LoadRuntime()
2024-10-03 11:45:06.428 9681-9712 OpenXR-Loader org.khronos.openxr.hello_xr.vulkan E Error [GENERAL | xrEnumerateInstanceExtensionProperties | OpenXR-Loader] : Failed querying extension properties
2024-10-03 11:45:06.429 9681-9712 hello_xr org.khronos.openxr.hello_xr.vulkan E [11:45:06.429][Error ] XrResult failure [XR_ERROR_RUNTIME_UNAVAILABLE]
Origin: xrEnumerateInstanceExtensionProperties(layerName, 0, &instanceExtensionCount, nullptr)
Source: /home/ravi/openXr/OpenXR-SDK-Source/src/tests/hello_xr/openxr_program.cpp:133
2024-10-03 11:45:06.429 9681-9712 threaded_app org.khronos.openxr.hello_xr.vulkan V android_app_destroy!
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Android build setup and src/tests/hello_xr/openxr_program.cpp:133, where the failure is reported. Trace the runtime manifest lookup behind the logged OpenXR-Loader errors; done means the Android Hello XR app builds and reaches extension enumeration without XR_ERROR_RUNTIME_UNAVAILABLE.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100