gpt4 book ai didi

android - kivy buildozer 无法编译针对 python3 的应用程序

转载 作者:搜寻专家 更新时间:2023-11-01 09:39:54 24 4
gpt4 key购买 nike

我正在尝试针对 python3 构建我的 kivy 应用程序。

首先我下载了​​ crystax ndk,并将 ANDROIDNDK 设置到它的位置。我在 buildozer.spec 中将 python3crystax 添加到我的要求中并启动构建:

buildozer android debug deploy run logcat

此命令导致以下错误:

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

如果我尝试使用 pip 手动安装 python3crystax,似乎这个包甚至不存在?

尝试一下

buildozer android debug deploy run logcat

导致以下错误:

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.

所有模块都安装了当前版本。谁能帮我解决这个问题?

谢谢塞德里克

最佳答案

请改用 buildozer android_new debug,您使用的是 android,它使用旧工具链构建并且不支持 python3。

关于android - kivy buildozer 无法编译针对 python3 的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40470825/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com