I'm new to Godot and try get the "Pong with GDScript" example to
run in Android. Export and install seems to work and I can see that
inside the generated .apk the resources are available:
...
-rw-rw-rw- 32428 27-Sep-2020 15:05:06 res/mipmap/icon_foreground.png
-rw-rw-rw- 51676 27-Sep-2020 15:05:06 resources.arsc
-rw-rw-rw- 148 27-Sep-2020 15:05:06 assets/.import/ball.png-9a4ca347acb7532f6ae347744a6b04f7.stex
-rw-rw-rw- 641 27-Sep-2020 15:05:06 assets/ball.png.import
-rw-rw-rw- 956 27-Sep-2020 15:05:06 assets/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
-rw-rw-rw- 640 27-Sep-2020 15:05:06 assets/icon.png.import
-rw-rw-rw- 154 27-Sep-2020 15:05:06 assets/.import/left_pallete.png-bc33611074a0f886142e37c77bd2545a.stex
-rw-rw-rw- 665 27-Sep-2020 15:05:06 assets/left_pallete.png.import
-rw-rw-rw- 505 27-Sep-2020 15:05:06 assets/logic/ball.gdc
-rw-rw-rw- 328 27-Sep-2020 15:05:06 assets/logic/ceiling_floor.gdc
-rw-rw-rw- 1035 27-Sep-2020 15:05:06 assets/logic/paddle.gdc
-rw-rw-rw- 222 27-Sep-2020 15:05:06 assets/logic/wall.gdc
-rw-rw-rw- 3428 27-Sep-2020 15:05:06 assets/pong.tscn
-rw-rw-rw- 154 27-Sep-2020 15:05:06 assets/.import/right_pallete.png-fc6e4a6a7c8197834656482b94708e47.stex
-rw-rw-rw- 668 27-Sep-2020 15:05:06 assets/right_pallete.png.import
-rw-rw-rw- 151 27-Sep-2020 15:05:06 assets/.import/separator.png-f981c8489b9148e2e1dc63398273da74.stex
-rw-rw-rw- 656 27-Sep-2020 15:05:06 assets/separator.png.import
-rw-rw-rw- 37 27-Sep-2020 15:05:06 assets/logic/ball.gd.remap
-rw-rw-rw- 46 27-Sep-2020 15:05:06 assets/logic/ceiling_floor.gd.remap
-rw-rw-rw- 39 27-Sep-2020 15:05:06 assets/logic/paddle.gd.remap
-rw-rw-rw- 37 27-Sep-2020 15:05:06 assets/logic/wall.gd.remap
-rw-rw-rw- 583 27-Sep-2020 15:05:06 assets/icon.png
-rw-rw-rw- 4561 27-Sep-2020 15:05:06 assets/project.binary
-rw-rw-rw- 62 27-Sep-2020 15:05:06 assets/_cl_
- ---------- -------- ----------- -------- ---------------------------------------------------------------------------------------------
128321823 378 files
However whe I try to start the "Pong with GDScript" app in the
launcher the Godot logo shows up and then it flickers a few times and
the app exits.
I can see in logcat:
11-11 12:30:58.132 9612 9638 E godot : **ERROR**: Failed loading resource: /pong.tscn.
11-11 12:30:58.132 9612 9638 E godot : At: core/io/resource_loader.cpp:278:_load() - Condition "found" is true. Returned: RES()
11-11 12:30:58.132 9612 9638 E godot : **ERROR**: Failed loading scene: /pong.tscn
11-11 12:30:58.132 9612 9638 E godot : At: main/main.cpp:1936:start() - Condition "!scene" is true. Returned: false
11-11 12:30:58.189 9612 9638 E godot : **ERROR**: Condition "default_certs != __null" is true.
11-11 12:30:58.189 9612 9638 E godot : At: modules/mbedtls/crypto_mbedtls.cpp:201:load_default_certificates() - Condition "default_certs != __null" is true.
11-11 12:30:58.189 9612 9638 E godot : **ERROR**: Cannot open file '/pong.tscn'.
11-11 12:30:58.189 9612 9638 E godot : At: scene/resources/resource_format_text.cpp:1228:load_interactive() - Condition "err != OK" is true. Returned: Ref<ResourceInteractiveLoader>()
It seems like the resources cannot be loaded?
What am I doing wrong?