I looked at the above error but cannot reproduce it.
Tried with
- FPC 3.2.0 on Linux/x86_64,
- FPC 3.2.0 on Windows/x86_64,
- FPC 3.0.4 on Windows/x86_64
-- in all cases strategy_game_demo works fine.
I had one idea for a potential source of problem (and I now fixed it in the engine). But any way I look at it -- if you just run unmodified example code from "examples/tiled/strategy_game_demo/", with unmodified data, then it should have worked anyway.
Actions:
1. Please use "vanilla" FPC and Lazarus, downloaded e.g. from
https://www.freepascal.org/ or
https://www.lazarus-ide.org/ or through
fpcupdeluxe . I neved tested laz4android fork -- it is possible they did something incompatible there.
Note that CGE has our own way to build Android APK (and packages for other platforms, e.g. iOS, Nintendo Switch) through our
build tool. So it is not necessary, and not advised, to use any forks of FPC/Lazarus to get Android support. Just use the latest original releases of FPC/Lazarus
2. Please provide a log, so we can see details and spot eventual problems. The strategy_game_demo uses
standard CGE logging, so on Windows the logs are just in
C:\Users\<user-name>\AppData\Local\strategy_game_demo\strategy_game_demo.log .