I was able to use r19c, r20b and r21e.
(r22 and higher have some other structure and didn't work.)
All 3 versions I tried compiled without problems (and without any change in rapidyaml code).
However, none of them worked.
When I tried to run them on my phone (2-year old Samsung), all I got was a black screen
I'm pretty sure it's not a problem of those newer NDKs, or at least it is not caused only by them, because other people already compiled for example with r23b:
https://github.com/MeridianOXC/openxcom-android/pull/3...but until somebody gives me an idiot-proof guideline how to compile a
working version with a newer SDK/NDK, I'm stuck with r18b, which is the only version that works for me.
"Custom library fix" is indeed annoying, but I'm willing to live with this one until there's a better solution.