我试图编译一个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
我得到这个错误早。这很容易!股票Android的NDK-R9C几乎从未工程。你必须从网上下载新的R9C,然后将它解压缩在.buildozer /安卓/平台
不过,我劝你从网络上下载的版本Android的NDK-R13B。 R9C是一个很老的版本,你可以得到一些问题,新的Android的API。 R13B版做工不错。
您可以下载7z格式,并解压,如:CD .buildozer /安卓/平台7Z X the_name_of_your_ndk.zip
祝好运!