Merge pull request #7884 from m4gr3d/update_android_plugin_tutorial

Update the Android documentation for Godot 4.2
This commit is contained in:
Max Hilbrunner
2023-10-10 19:09:15 +02:00
committed by GitHub
20 changed files with 607 additions and 194 deletions
+4 -4
View File
@@ -16,22 +16,22 @@ Before following the OpenXR-specific instructions here, you'll need to first set
See :ref:`doc_exporting_for_android` for the full details, and return here when you've finished these steps.
Custom Android build
Gradle Android build
--------------------
.. note::
Official support for the Android platform wasn't added to the OpenXR specification initially resulting in various vendors creating custom loaders to make OpenXR available on their headsets.
While the long term expectation is that all vendors will adopt the official OpenXR loader, for now these loaders need to be added to your project.
In order to include the vendor-specific OpenXR loader into your project, you will need to setup a custom Android build.
In order to include the vendor-specific OpenXR loader into your project, you will need to setup a gradle Android build.
Select **Install Android Build Template...** from the **Project** menu:
.. image:: img/android_custom_build.webp
.. image:: img/android_gradle_build.webp
This will create a folder called **android** inside of your project that contains all the runtime files needed on Android. You can now customize this installation. Godot won't show this in the editor but you can find it with a file browser.
You can read more about custom builds here: :ref:`doc_android_custom_build`.
You can read more about gradle builds here: :ref:`doc_android_gradle_build`.
Installing the loader plugin
----------------------------