Ich bereitete kivy buildozer für die Verwendung vor. Für die Installation verwenden ich Anweisungen here, Verfahren zu Python 3. Nach Schritt 3 wurde buildozer.spec Datei nicht abgeschlossen und geprüft Linien (Schritt 4) hatte neben Inhalt:Kivy: Buildozer.spec Datei ist nicht abgeschlossen
requirements = kivy
#android.ndk_path =
Nachricht über die Installation nach buildozer deploy laufen android Debug:
# Unpacking Android NDK
# Android NDK installation done.
# Check application requirements
# Check garden requirements
# Compile platform
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/sf_ForBuildozer/.buildozer/android/platform/build
#
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2
Was Ursprung der Probleme ist?
Ich habe log_level = 2 bis Abschnitt buildozer, Neue Nachricht:
# Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/sf_ForBuildozer/.buildozer/android/platform/build'
# Cwd /media/sf_ForBuildozer/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are()
[WARNING]: Requested API target 19 is not available, install it with the SDK android tool.
[WARNING]: Exiting.
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/sf_ForBuildozer/.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
I addvices von Mikhail Gerasimov aufgetragen und nach kurzem Schritt erhielt ich neue Nachricht:
# Run '/usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/sf_ForBuildozer/.buildozer/android/platform/build'
# Cwd /media/sf_ForBuildozer/.buildozer/android/platform/python-for-android-new-toolchain
[INFO]: Will compile for the following archs: armeabi-v7a
[INFO]: Found Android API target in $ANDROIDAPI
[INFO]: Available Android APIs are()
[WARNING]: Requested API target 19 is not available, install it with the SDK android tool.
[WARNING]: Exiting.
# Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/sf_ForBuildozer/.buildozer/android/platform/build
Lesen Sie den Fehler, den Sie gepostet haben, und folgen Sie den Anweisungen. – inclement
Fügen Sie der Datei 'buidozer.spec' die Zeile' log_level = 2' hinzu (im Abschnitt '[buildozer]'). –
Vor meiner ersten Frage habe ich log_level = 2 hinzugefügt, aber in falscher Zeile. Ich reparierte es und neue Nachricht, die ich meiner Frage oben hinzufügte. – jasan