You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On latest p4a master ( 7f8242f ), the bootstrap detection for "service_only" and "webview" appears to be broken - when using any of those two in the --requirements with no mention of sdl2, p4a will still always pick the sdl2 bootstrap:
...
[INFO]: Found 4 acceptable bootstraps: ['sdl2', 'webview', 'pygame', 'services_only']
[INFO]: Using the first of these: sdl2
[INFO]: Found a single valid recipe set: ['hostpython2', u'webview', u'python2']
[INFO]: The selected bootstrap is sdl2
--bootstrap's help string claims: "The bootstrap to build with. Leave unset to choose automatically."
So unless I'm missing something obvious, it looks like that is just not what should be happening.
I guess I'm not supposed to specify webview in the requirements? Maybe that's the problem. I'm not sure, if someone knows how it's supposed to be built, let me know 😄
After pondering this some more I don't see how this could even work, since a webview or service_only app has no package to indicate any sort of non-sdl2 dependency, and e.g. flask could also be used in an sdl2-bootstrapped app. There is just no information to derive anything useful from, other than kivy needing the sdl2 bootstrap, which is usually picked as default anyway.
Not sure what to suggest from that info. I guess maybe in the future it could be autodetected, so it's worth leaving it in even if the code does nothing? Or not? I'm not sure
On latest p4a master ( 7f8242f ), the bootstrap detection for "service_only" and "webview" appears to be broken - when using any of those two in the
--requirements
with no mention ofsdl2
,p4a
will still always pick thesdl2
bootstrap:Try this yourself e.g. with:
--requirements=webview,python2
with https://github.com/kivy/python-for-android/tree/master/testapps/testapp_flask :--bootstrap
's help string claims: "The bootstrap to build with. Leave unset to choose automatically."So unless I'm missing something obvious, it looks like that is just not what should be happening.
Short-hand test / reproduce command:
p4aspaces cmd py4a-py2-api19-ndkbundle "cd ~/testapp-webview-flask && p4a apk --arch=armeabi-v7a --name test --package com.example.test --version 1 --requirements=python2,webview --private ." --p4a master
The text was updated successfully, but these errors were encountered: