在Buildozer中使用CrystaX生成APK时出错

时间:2018-09-12 03:04:47

标签: android python python-3.x kivy buildozer

当前使用Kivy / Buildozer VM来将Python脚本转换为APK,但是每次我使用“ buildozer android debug”时,我都会遇到此错误;

[INFO]:    # Prebuilding recipes
[INFO]:    Prebuilding hostpython3crystax for armeabi-v7a
[INFO]:    hostpython3crystax has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding sdl2_image for armeabi-v7a
[INFO]:    sdl2_image has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_image[armeabi-v7a]
[INFO]:    sdl2_image already patched, skipping
[INFO]:    Prebuilding sdl2_mixer for armeabi-v7a
[INFO]:    sdl2_mixer has no prebuild_armeabi_v7a, skipping
[INFO]:    Applying patches for sdl2_mixer[armeabi-v7a]
[INFO]:    sdl2_mixer already patched, skipping
[INFO]:    Prebuilding sdl2_ttf for armeabi-v7a
[INFO]:    sdl2_ttf has no prebuild_armeabi_v7a, skipping
[INFO]:    Prebuilding python3crystax for armeabi-v7a
[INFO]:    python3crystax has no prebuild_armeabi_v7a, skipping
[ERROR]:   The python3crystax recipe can only be built when using the CrystaX NDK. Exiting.

我已经下载并解压缩了CrystaX NDK,并且还在我的buildozer.spec文件中写入了它的路径和版本;

# (str) Android NDK version to use
#android.ndk = 10.3.2

# (list) Application requirements
requirements = python3crystax,kivy

# (str) Point to the directory where you extracted the crystax-ndk:
#android.ndk_path = ~/kivy/Downloads/crystax-ndk-10.3.2/

任何纠正此错误的帮助将不胜感激。

0 个答案:

没有答案