Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build OpenXr-source-SDk for android #506

Open
Rc-dev-93 opened this issue Oct 3, 2024 · 2 comments
Open

Build OpenXr-source-SDk for android #506

Rc-dev-93 opened this issue Oct 3, 2024 · 2 comments
Labels
synced to gitlab Synchronized to OpenXR internal GitLab

Comments

@Rc-dev-93
Copy link

Rc-dev-93 commented Oct 3, 2024

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!
@utzcoz
Copy link
Contributor

utzcoz commented Oct 5, 2024

@Rc-dev-93 Your Android device doesn't have a workable OpenXR Runtime, and loader packaged into hello_xr can't find it. You can check https://gitlab.freedesktop.org/monado/utilities/openxr-android-broker and https://gitlab.freedesktop.org/monado/monado to learn how to run OpenXR application on Android with open-source OpenXR Runtime.

@rpavlik-bot
Copy link
Collaborator

An issue (number 2396) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#2396 ), to facilitate working group processes.

This GitHub issue will continue to be the main site of discussion.

@rpavlik-bot rpavlik-bot added the synced to gitlab Synchronized to OpenXR internal GitLab label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
synced to gitlab Synchronized to OpenXR internal GitLab
Projects
None yet
Development

No branches or pull requests

3 participants