Alter.Org.UA
 << Back Home EN en   Donate Donate

Buildozer build failure fix

We use buldozer with kivy for Android application development. Last successful build happened about a month ago. And after adding new code we got build failure without any hint in error log. All previous code shapshots stopped buildig too. There is one suspicious thing - reference to Python 3.6 in log. It is installed in system. But pyenv says that we use 3.7.1. And I remember that we explicitly switched to this version previous time. System python is also 3.7.1, however 3.6 binaries are present in system too. Manipulations with pyenv don't help. And I could not find any relevant information about kivy/buildozer/python version compatibility.

buildozer android debug

[INFO]:    No existing dists meet the given requirements!
[INFO]:    No dist exists that meets your requirements, so one will be built.
Traceback (most recent call last)

[INFO]:    No dist exists that meets your requirements, so one will be built.
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
    
RAN: /usr/bin/which lld

I had an idea to try python 3.6 in pyenv (didn't check) or buildozer android update. It helped. But must be executed for each project. May be some automatic system update have broken some dependencies. Also we had to install newer JDK.

cd MyProject
buildozer android clean
buildozer android update
buildozer android debug deploy run
2022.08.08


FB or mail alterX@alter.org.ua (remove X)   Share
Автор: Alter (Александр А. Телятников) Сервер: Apache+PHP под FBSD © 2002-2024