Ich benutze Buildozer, um eine Python-Datei in Android APK zu konvertieren (mit Kivy) und es wird ziemlich weit durch den Prozess, aber dann Fehler .Konnte hostpython nicht finden, wird nicht nach .pyo kompilieren (Buildozer python-to-android)
Irgendwelche Ideen, was verursacht diesen Fehler am Ende?
toolchain.py: error: unrecognized arguments: --sdk 19 Could not find hostpython, will not compile to .pyo (this is normal with python3)
Command failed: /usr/bin/python -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name KivyTest --name KivyApp --version 0.1 --package doublejgames.com.kivytest --android_api 19 --sdk 19 --minsdk 9 --private /home/kivy/Desktop/.buildozer/android/app --orientation landscape --copy-libs --arch armeabi-v7a --color=always --storage-dir=/home/kivy/Desktop/.buildozer/android/platform/build
Dies scheint der Hauptfehler zu sein:
toolchain.py: error: unrecognized arguments: --sdk 19 Could not find hostpython, will not compile to .pyo (this is normal with python3)
In meiner buildozer.spec Datei, verwende ich die Anforderungen:
requirements = kivy, python3crystax==3.6
Ich habe auch versucht
nurrequirements = kivy, python3crystax
Jede Hilfe wäre willkommen! Vielen Dank.
Haben Sie versucht, es wieder zu bauen? Gibt es den gleichen Fehler? – ikolim
Bitte beziehen Sie sich auf meine Antwort unter https://stackoverflow.com/questions/46568198/buildover-compilation-failed-could-not-find-application-project-directory – ikolim