je viens de finir un tutoriels sur kivy et quand j'exporte pour android avec la commande: "buildozer android debug deploy run" le terminal me retourne une erreur liée à cython et il faut noter que j'ai installé cython contrairement à ce que la sortie me fait comprendre.
je comprends pas ce qui se passe, de l'aide s'il vous plaît et merci d'avance. voici la sortie du terminal avec un log_level = 2:
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Programme « dpkg » de gestion de paquets Debian version 1.18.4 (amd64).
Ce programme est un logiciel libre ; veuillez consulter la « GNU General
Public License » version 2 ou supérieure pour prendre connaissance des
conditions de reproduction. AUCUNE garantie n'est offerte.
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /usr/local/bin/cython
# Search for Java compiler (javac)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
# -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Install platform
# Apache ANT found at /home/bayaola/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/bayaola/android-sdk-linlux
# Android NDK found at /home/bayaola/android-ndk-r10e
# Check application requirements
# Run './distribute.sh -l'
# Cwd /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream bidi boost cherrypy c_igraph click cprotobuf cymunk django docutils ecdsa enum34 evdev ffmpeg ffmpeg2 ffpyplayer ffpyplayer_tito flask freetype gevent greenlet harfbuzz hostpython igraph itsdangerous jinja2 jpeg kivent_core kivent_cymunk kivy leveldb libevent libpq libsodium libswift libtorrent libxml2 libxslt libyaml lxml m2crypto markupsafe midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer plyvel png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift thrift twisted txws werkzeug wokkel zeroconf zope
# Application requirements already installed, pass
# Check garden requirements
# Compile platform
# Run './distribute.sh -l'
# Cwd /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream bidi boost cherrypy c_igraph click cprotobuf cymunk django docutils ecdsa enum34 evdev ffmpeg ffmpeg2 ffpyplayer ffpyplayer_tito flask freetype gevent greenlet harfbuzz hostpython igraph itsdangerous jinja2 jpeg kivent_core kivent_cymunk kivy leveldb libevent libpq libsodium libswift libtorrent libxml2 libxslt libyaml lxml m2crypto markupsafe midistream msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer plyvel png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools six sqlalchemy sqlite3 storm swift thrift twisted txws werkzeug wokkel zeroconf zope
# Clean and build python-for-android
# Remove directory and subdirectory /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/dist/WeatherApp
# Run './distribute.sh -m "kivy" -d "WeatherApp"'
# Cwd /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android
Check build dependencies for Ubuntu
Check environment
SDK located at /home/bayaola/android-sdk-linlux
NDK located at /home/bayaola/android-ndk-r10e
NDK version is r9c
API level set to 19
Check NDK location
Check mandatory tools
Distribution will be located at /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/dist/WeatherApp
Entering in ARM environment
Compiler found at /home/bayaola/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
PATH is /home/bayaola/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/bayaola/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/bayaola/android-ndk-r10e:/home/bayaola/android-sdk-linlux/tools:/home/bayaola/.buildozer/android/platform/apache-ant-1.9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/bayaola/android-sdk-linlux/platform-tools:/home/bayaola/android-sdk-linlux:/home/bayaola/android-sdk-linlux/tools
Leaving ARM environment
Read kivy recipe
Module kivy depend on pygame pyjnius android
Read pygame recipe
Module pygame depend on python sdl
Read pyjnius recipe
Module pyjnius depend on python sdl six
Read android recipe
Module android depend on pygame
Read python recipe
Module python depend on hostpython
Read sdl recipe
Module sdl depend on python
Ignored python, already processed
Ignored sdl, already processed
Read six recipe
Module six depend on python
Ignored pygame, already processed
Read hostpython recipe
Ignored python, already processed
Ignored python, already processed
Modules changed to hostpython python sdl six pygame pyjnius android kivy
Pure-Python modules changed to
Run get packages
Download package for hostpython
Module hostpython already downloaded
Download package for python
Module python already downloaded
Download package for sdl
No package for sdl
Download package for six
Module six already downloaded
Download package for pygame
Module pygame already downloaded
Download package for pyjnius
Module pyjnius already downloaded
Download package for android
No package for android
Download package for kivy
Module kivy already downloaded
Run prebuild
Call prebuild_hostpython
Call prebuild_python
Call prebuild_sdl
Call prebuild_six
Call prebuild_pygame
Call prebuild_pyjnius
Call prebuild_android
Call prebuild_kivy
Run build
Skipped build_hostpython
Skipped build_python
Skipped build_sdl
Call build_six
Entering in ARM environment
Compiler found at /home/bayaola/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
running install
running build
running build_py
running install_lib
running install_egg_info
Removing /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info
Writing /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info
Leaving ARM environment
Skipped build_pygame
Call build_pyjnius
Entering in ARM environment
Compiler found at /home/bayaola/android-ndk-r10e/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
/home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build_ext
failed to import Cython: /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: wrong ELF class: ELFCLASS32
error: Cython does not appear to be installed
/home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build_ext
failed to import Cython: /home/bayaola/Documents/weatherAPP/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: wrong ELF class: ELFCLASS32
error: Cython does not appear to be installed
# Command failed: ./distribute.sh -m "kivy" -d "WeatherApp"
#
# 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
Partager