diff --git a/tutorials/platform/android/android_library.rst b/tutorials/platform/android/android_library.rst index 4794bf074..edcf55d91 100644 --- a/tutorials/platform/android/android_library.rst +++ b/tutorials/platform/android/android_library.rst @@ -185,7 +185,11 @@ Below we break-down the steps used to create the GLTF Viewer app. @Override public List getCommandLine(){ - return List.of("--main-pack","res://foo.pck"); + List results = new ArrayList<>(); + results.addAll(super.getCommandLine()); + results.add("--main-pack"); + results.add("res://foo.pck"); + return results; } The instructions below and the sample app follow the first approach of creating the Godot project in the Android app's ``assets`` directory.