diff --git a/tutorials/platform/android/android_library.rst b/tutorials/platform/android/android_library.rst index 073b55c0b..51ef7532a 100644 --- a/tutorials/platform/android/android_library.rst +++ b/tutorials/platform/android/android_library.rst @@ -179,7 +179,14 @@ Below we break-down the steps used to create the GLTF Viewer app. to the Android app's ``assets`` directory. Using this approach requires passing the ``--main-pack `` argument to the hosted Godot Engine instance using `GodotHost#getCommandLine() `_. - Example:``return List.of("--main-pack","ref://foo.pck");`` + Example:```` + +.. code-block:: java + +@Overrude +public List getCommandLine(){ + return List.of("--main-pack","res://foo.pck"); +} The instructions below and the sample app follow the first approach of creating the Godot project in the Android app's ``assets`` directory.