diff --git a/tutorials/platform/android/android_library.rst b/tutorials/platform/android/android_library.rst index 63e18b84627..1d38ca2b5bd 100644 --- a/tutorials/platform/android/android_library.rst +++ b/tutorials/platform/android/android_library.rst @@ -177,7 +177,13 @@ Below we break-down the steps used to create the GLTF Viewer app. Note that it's also possible to create the Godot project in a separate directory and export it as a `PCK or ZIP file `_ 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() `_. + Using this approach requires passing the ``--main-pack res://`` argument to the hosted Godot Engine instance using `GodotHost#getCommandLine() `_. + + .. code-block:: kotlin + + override fun getCommandLine(): MutableList { + return mutableListOf("--main-pack", "res://game.pck"); + } The instructions below and the sample app follow the first approach of creating the Godot project in the Android app's ``assets`` directory.