Closed ghost closed 6 years ago
I think this error arose from a cython version issue that should be fixed if using p4a master with Kivy master and an up to date cython.
I already use git master: pip3 install -U https://github.com/kivy/python-for-android/archive/master.zip
(I build inside a Ubuntu 18.04
docker container)
Cython is the version currently shipped in Ubuntu 18.04
: 0.26.1-0.4
(both cython2/cython3)
Edit: ah. But I'm getting kivy via --requirements=kivy
of course, so that one is probably not the git master version
I think the documentation recommends cython==0.21
https://github.com/kivy/buildozer//blob/master/docs/source/installation.rst#android-on-ubuntu-1804-64bit
I usually install it with pip but in user site-package to not mess up with my sys dependencies.
pip install --user cython==0.21
Then yes also I recommend you to give it a try to latest kivy release in your --requirements=kivy==1.10.1
. We should definitely update the recipe to pick this up by default here https://github.com/kivy/python-for-android/blob/master/pythonforandroid/recipes/kivy/__init__.py#L9 but I haven't had time to test it up myself before updating.
Yup, kivy==1.10.1
fixes it, so it appears the recipe needs to be updated
Glad to hear, thanks, I've just created https://github.com/kivy/python-for-android/pull/1330 and I'll ping the channel to review and merge if continuous integration turns green.
I'm not planning to use it, but since I've been asked to test things with it for another bug ticket, here is the build error I'm running into when I include "kivy" into the
--requirements
switch (full command line was:p4a apk --debug --private /my-app/ --orientation user --window --package=org.example.myapp --name "My application" --version 0.1 --bootstrap=sdl2 --requirements=python3crystax,sdl2,pysdl2,pyjnius,kivy --arch=armeabi-v7a
) :