[英]buildozer android debug deploy run error: Command failed: ['tar', 'xzf', 'apache-ant-1.9.4-bin.tar.gz']
I'm getting the above error when trying to package up my kivy app.尝试 package 升级我的 kivy 应用程序时出现上述错误。 After running
buildozer android debug deploy run
I am met the the below error:运行
buildozer android debug deploy run
后,我遇到以下错误:
Command failed: ['tar', 'xzf', 'apache-ant-1.9.4-bin.tar.gz']
When running the above command ( tar xzf apache-ant-1.9.4-bin.tar.gz
) I get the following output:运行上述命令(
tar xzf apache-ant-1.9.4-bin.tar.gz
)时,我得到以下 output:
/usr/bin/gzip: 1: ELF: not found
/usr/bin/gzip: 3: : not found
/usr/bin/gzip: 4: Syntax error: "(" unexpected
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Tried to look on line for anything close to this but haven't found anything relevant.试图在网上寻找任何与此接近的东西,但没有找到任何相关的东西。 Has anyone else seen this error?
有没有其他人看到这个错误?
Ubuntu Version Info: Ubuntu 版本信息:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
thanks谢谢
I was missing p4a and its dependencies:我缺少 p4a 及其依赖项:
https://python-for-android.readthedocs.io/en/latest/quickstart/ https://python-for-android.readthedocs.io/en/latest/quickstart/
running:跑步:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y build-essential ccache git zlib1g-dev python3 python3-dev libncurses5:i386 libstdc++6:i386 zlib1g:i386 openjdk-8-jdk unzip ant ccache autoconf libtool libssl-dev
solved my problem解决了我的问题
well i still have same issue even after installing the p4a and its dependencies好吧,即使在安装 p4a 及其依赖项后我仍然有同样的问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.