-
Notifications
You must be signed in to change notification settings - Fork 523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot build "Hello World" APK #687
Comments
Ouch, but what are you trying to do? I'm a bit lost I have to say. |
Thanks for your quick answer and sorry I mixed a bit several issues because I thought it could be related. Let's focus on my 100% buildozer problem.
it creates successfully the specs files then
which gave the error I reported in my post above (the first error) I hope it's a bit more clear now :) |
This is an old error relating to the combination of cython and kivy versions used. I'm pretty sure it should be fixed in Kivy master and 1.10.1 - maybe try using |
@inclement isn't 1.10.0 the latest version? |
We're in the process of releasing 1.10.1. It's tagged on github, so should work here. Did you clean the build before re-running buildozer? If you didn't, it won't have fetched a new Kivy version. |
I runned it after cleaning and I got some similar errors, even though slightly different
|
Yes it's more clear now. And yes the error is different, thank you for sharing the log, without it nobody can help. |
After trying several versions of Cython, i'm now back on 0.28.3, after reading the issue you referred to, i tried with Cython 0.25, unsuccessfully.
|
OK then I have no clue, and since I'm not running OS X, I'm not sure I could really help. |
ok thanks for your help, I'll try with Docker and have a look at the VM also |
Yes I confirm that I could successfully build the a hell world APK in that VM. OS:
Cython version:
java -version`:
So I would suggest you to start again from a clean build making sure you're on |
I got the same error than before with Cython 0.25.2 |
I am seeing this issue as well, with the helloworld app and a fresh buildozer init. When I have default kivy requirements in the buildozer.spec it builds successfully. requirements = kivy The build fails when I change it to 1.10.1 requirements = kivy==1.10 It fails with the common issue here:
kivy/core/window/window_x11.pyx:221:13: 'WindowInfoX11' is not a type identifier subset of pip freeze (snipped others) buildozer==0.34 |
With Cython 0.28.5 the problem still happens with a clean build (delete .buildozer). On a lark I tried running buildozer again immediately right after the failure, and it somehow completed successfully. So what seems to happen is: perform clean build Observe error Immediately re-run the build (without cleaning) Observe success Hope this helps diagnose the eventual fix. |
Closing as stale, I believe this is fixed when using the various master branches and a recent cython |
Hello,
I am a Kivy and Buildozer newbie, so I had to solve a lot of problems by looking on forums but unfortunately I can't find anything for this (hopefully last) problem:
Running macOS 10.12.6, Python 2.7.15, Kivy 1.10.0 installed with the latest dmg
During compilation, I get this error:
I've tried to downgrade to several Cython versions as I could read in several places, it didnt work.
I also have a strange behaviour with kivy, maybe it's related:
If I drag and drop the "hello world" example on the apps, it works fine, but if I try to start it from terminal, kivy starts well with:
but when I want to start the example, I get this error:
I am really out of idea, any suggestion is really welcome.
Also I just noticed that kivy -V returns python 2.7.10 while python -V returns 2.7.15
Could this be a problem?
Thanks a lot
The text was updated successfully, but these errors were encountered: