Is there a recommended and working way to install and use buildozer? I've been fighting with this for a few days now and cannot get it to work.
Here are my findings:
I use VirtualBox to set up ubuntu VM. I've tried Ubuntu 12.04 and 12.10 and both versions are giving me different results.
Ubuntu 12.10:
I install fresh instance of Ubuntu 12.10, install updates that pop up, install guest additions. Then I install python-pygame and after that kivy 1.8.0 (stable). When I try to run my application after these steps I get the issue reported here (for MacOS though):
http://kivy.org/docs/installation/troubleshooting-macosx.html. The difference is that pygame itself works fine for me, no issues when importing it manually. Another peculiar thing is that when I install buildozer with prerequisites and try to generate android package for my app, it gets generated. I did not try to deploy it though so I don't know if it works. I figure that there is no chance for it to work if it does not even work in my dev environment.
Ubuntu 12.04:
I tried to use
this script to install buildozer. It fails at the beginning, because libgl1-mesa-dev and libgles2-mesa-dev won't install saying that they depend on libgles2-mesa. If I install libgles2-mesa manually, it installs and its possible to go on with the script, but the system won't start anymore (it hangs during startup). I tried to ignore those packages and go on, but running buildozer after that ends up the same way as described below.
So I used the instructions given here:
http://inclem.net/2014/01/12/kivy-crash-course/2_building_an_android_apk/ and managed to install everything finally. But then when I run buildozer, it ends up with the error reported already here:
https://github.com/kivy/buildozer/issues/73And reinstalling or trying to upgrade cython (as suggested in the issue) does not help.
Did anybody actually manage to get buildozer to work with kivy 1.8.0 or 1.8.1 under Ubuntu? Or maybe I should use some other linux version/distro for this? I'm flexible, just want to build a VM capable of generating APK's with buildozer.