我正在尝试在buildozer的帮助下编译在Kivy上创建的应用程序,我遇到了很多错误,其中大多数是确定的,但是我无法处理该错误。
在这种情况下我该怎么办?
这就是终端中的buildozer。
Archive: /home/alexander/.buildozer/android/platform/android-ndk-
r9c-linux-x86_64.zip
End-of-central-directory signature not found. Either this file is
not
a zipfile, or it constitutes one disk of a multi-part archive. In
the
latter case the central directory and zipfile comment will be
found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of
/home/alexander/.buildozer/android/platform/android-ndk-r9c-linux-
x86_64.zip or
/home/alexander/.buildozer/android/platform/android-ndk-r9c-linux-
x86_64.zip.zip, and cannot find
/home/alexander/.buildozer/android/platform/android-ndk-r9c-linux-
x86_64.zip.ZIP, period.
# Command failed: unzip
/home/alexander/.buildozer/android/platform/android-ndk-r9c-linux-
x86_64.zip
#
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2
答案 0 :(得分:0)
我较早收到此错误。非常简单!股票的android-ndk-r9c几乎无法使用。您必须从网上下载新的r9c,然后将其解压缩到.buildozer / android / platform
但是我建议您从网上下载版本android-ndk-r13b。 r9c是一个非常旧的版本,使用新的android API可能会遇到一些问题。 r13b版本效果很好。
您可以下载7z,并解压缩为: cd .buildozer / android / platform 7z x the_name_of_your_ndk.zip
祝你好运!