kivy 的 buildozer,returns 错误

buildozer for kivy, returns error

我是第一次 linux 用户。我只是按照说明如何通过 buildozer git hub 制作移动应用程序。

最后,当我尝试时,我明白了:

[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI
[INFO]:    Available Android APIs are (19)
[INFO]:    Requested API target 19 is available, continuing.
[INFO]:    Found NDK dir in $ANDROIDNDK
[INFO]:    Got NDK version from $ANDROIDNDKVER
[INFO]:    Using Google NDK r9c
[INFO]:    Found virtualenv at /usr/local/bin/virtualenv
[INFO]:    ccache is missing, the build will not be optimized in the future.
[WARNING]: Could not find toolchain subdirectory!
[WARNING]: Could not find any toolchain for arm-linux-androideabi!
[WARNING]: Missing executable: autoconf is not installed
[WARNING]: Missing executable: automake is not installed
[WARNING]: Missing executable: libtoolize is not installed
[ERROR]:   python-for-android cannot continue; aborting
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystacks,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/kivy/buildozer/something/crystax-ndk-10.3.2/.buildozer/android/platform/build
# 
# 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
kivy@kivyvm:~/buildozer/something/crystax-ndk-10.3.2$ 

不知道它会是什么。

我做了以下事情:

git clone https://github.com/kivy/buildozer
cd buildozer
python setup.py build
sudo pip install -e .

我在 buildozer 中创建了一个文件夹。

在我提取的 Crystax NDK 中

在我做过的事情中 buildozer init

我终于做到了buildozer android debug deploy run

除了用 pip 安装 buildozer you should also install 它是 linux 依赖项。

如果你想使用特定的 NDK,你应该编辑你的 buildozer.spec 文件,该文件在你 运行 buildozer init.

之后出现在你的项目文件夹中

请查看 this short manual:其中包含您应该在 buildozer.spec 中更改以使用 Crystax 和 Python 3.

的行