kivy buildozer cant compile application targeting python3

微笑、不失礼 提交于 2019-12-11 01:24:33

问题


I'm trying to build my kivy application against python3.

First I downloaded the crystax ndk, and set the ANDROIDNDK to it's location. I added python3crystax to my requirements in the buildozer.spec and launched the build with:

buildozer android debug deploy run logcat

This command results in the following error:

Command failed: pip install --target=/home/cedric/Documents/Development/python/kivyapp/.buildozer/applibs python3crystax

If I try to install python3crystax manually with pip it seems, that this package dosen't even exists?

trying it with

buildozer android debug deploy run logcat

causes the following error:

ERROR: The colorama Python module could not be found, please install version 0.3.3 or higher

ERROR: The appdirs Python module could not be found, please install it.

ERROR: The sh Python module could not be found, please install version 1.10 or higher

ERROR: The jinja2 Python module could not be found, please install it.

All modules are installed with their current version. Can anybody help me to solve this problem?

Thanks Cedric


回答1:


Use buildozer android_new debug instead, you are using android which builds with the old toolchain and does not support python3.



来源:https://stackoverflow.com/questions/40470825/kivy-buildozer-cant-compile-application-targeting-python3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!