Skip to main content
 首页 » 编程设计

android之"buildozer android update"失败

2025年01月19日30lyj

我已经在我的 mint 上安装了 kivy(v:1.10.0) 和 buildozer。
我的 kivy 应用运行良好。

我正在关注 "installing buildozer with python3 support"编译我的apk文件。

但是我在终端中执行 buildozer android debug deploy run 时在第 5 步中遇到错误。

输出是:

Check configuration tokens 
Ensure build layout 
Check configuration tokens 
Preparing build 
Check requirements for android 
Install platform 
Command failed: git clone -b stable --single-branch 
https://github.com/kivy/python-for-android.git python-for-android-new-toolchain 
 
Buildozer failed to execute the last command 
If the error is not obvious, please raise the log_level to 2 
and retry the latest command. 
In case of a bug report, please add a full log with log_level = 2 

有人可以帮忙吗?

请您参考如下方法:

该存储库不再包含分支名称 stable。

参见 list of branches here .

尝试使用不同的分支名称修改该步骤:master。
在 kivy/buildozer /buildozer/default.spec 中更改