python-for-android packages the wrong manifest for me for my specified ANDROIDAPI="19" version: the included AndroidManifest.xml specifies android:configChanges="keyboardHidden|orientation and missing "screenSize", which leads to app crash on rotation. When manually editing /usr/local/lib/python3.6/dist-packages/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml to take out the conditional and hardcoding "screenSize" into the android:configChanges=... value, then it works. So it seems something is bugged with how that template is being handled.
To reproduce, try a p4a build line with --requirements=python3crystax,pysdl2,sdl2 --orientation user --window and any simple SDL2 code, e.g. the one in that comment here: #1338 (comment)
python-for-android packages the wrong manifest for me for my specified ANDROIDAPI="19" version: the included
AndroidManifest.xmlspecifiesandroid:configChanges="keyboardHidden|orientationand missing "screenSize", which leads to app crash on rotation. When manually editing/usr/local/lib/python3.6/dist-packages/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xmlto take out the conditional and hardcoding "screenSize" into theandroid:configChanges=...value, then it works. So it seems something is bugged with how that template is being handled.To reproduce, try a
p4abuild line with--requirements=python3crystax,pysdl2,sdl2 --orientation user --windowand any simple SDL2 code, e.g. the one in that comment here: #1338 (comment)