Buildozer Fehler beim ausführen des letzten Befehls
während ich versuchte zu bauen,schieben und automatisches ausführen der apk auf mein Gerät mit buildozer android debug deploy run
es zeigt diesen Fehler:
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Install platform
# Apache ANT found at /home/sahil/.buildozer/android/platform/apacheant-1.9.4
# Android SDK found at /home/sahil/.buildozer/android/platform/android-sdk-21
# Android NDK found at /home/sahil/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Check garden requirements
# Compile platform
# Distribution already compiled, pass.
# Build the application #21
# Package the application
# Command failed: /usr/bin/python2.7 build.py --name demo --version 1.2.0 --package org.test.myapp --private /home/sahil/kivy/.buildozer/android/app --sdk 14 --minsdk 8 --orientation landscape debug
#
# 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
Ich habe es aus, in der Dokumentation und auch im internet aber nichts gefunden darüber.
UND ich bin nur eine einfache Hallo Welt Anwendung:
#version.regex
#__version__= '1.0'
from kivy.app import App
from kivy.uix.label import Label
class SimpleApp(App):
def build(self):
return Label(text="Hello World")
if __name__=="__main__":
SimpleApp().run()
Dank!
Du musst angemeldet sein, um einen Kommentar abzugeben.
Erhöht zuerst die
log level = 2
imbuildozer.spec
ist,dann werden alle logs und Fehler deutlich. Hier in.buildozer/android/platform/python-for-android/dist/myapp/python 2.7 build.py
fehlte. Um dieses Problem zu beheben führen Sie diesen Befehlbuildozer android clean
und erstellen Sie dann es neu mitbuildozer android debug
oder automatisch ausführen mitbuildozer android debug deploy run
.Wahrscheinlich, Sie mit einer aktualisierten version von cython, alle major-release-start-Formular 0.21 und Sie haben ein downgrade cython auf 0,20 ( sudo pip install cython==0.20), dann entfernen .buildozer Ordner ( rm -Rf .buildozer ) und dann den Wiederaufbau mit 'buildozer android debug'