Macs-MacBook-Pro:fyp Jessica$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Search for Git (git)
# -> found at /usr/bin/git
# Search for Cython (cython)
# -> found at /Library/Frameworks/Python.framework/Versions/2.7/bin/cython
# Search for Java compiler (javac)
# -> found at /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/javac
# Search for Java keytool (keytool)
# -> found at /System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/keytool
# Install platform
# Apache ANT found at /Users/mac/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /users/mac/Library/Android/SDK
# Android NDK found at /Users/mac/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Run './distribute.sh -l'
# Cwd /Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
# Application requirements already installed, pass
# Check garden requirements
# Compile platform
# Run './distribute.sh -l'
# Cwd /Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android
Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy opencv openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
# Clean and build python-for-android
# Run './distribute.sh -m "kivy twisted" -d "clienttest"'
# Cwd /Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android
./distribute.sh: line 286: lsb_release: command not found
Check build dependencies for
Avoid check build dependencies, unknow platform
Check environment
SDK located at /users/mac/Library/Android/SDK
NDK located at /Users/mac/.buildozer/android/platform/android-ndk-r9c
NDK version is r9c
API level set to 14
Check NDK location
Check mandatory tools
Distribution will be located at /Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/dist/clienttest
Entering in ARM environment
Compiler found at /Users/mac/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin//arm-linux-androideabi-gcc
PATH is /Users/mac/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86/bin/:/Users/mac/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/:/Users/mac/.buildozer/android/platform/android-ndk-r9c:/users/mac/Library/Android/SDK/tools:/Users/mac/.buildozer/android/platform/apache-ant-1.9.4/bin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
Leaving ARM environment
Read kivy recipe
Module kivy depend on pygame pyjnius android
Read twisted recipe
Module twisted depend on zope
Read pygame recipe
Module pygame depend on python sdl
Read pyjnius recipe
Module pyjnius depend on python sdl
Read android recipe
Module android depend on pygame
Read zope recipe
Module zope depend on python
Read python recipe
Module python depend on hostpython
Read sdl recipe
Module sdl depend on python
Ignored python, already processed
Ignored sdl, already processed
Ignored pygame, already processed
Ignored python, already processed
Read hostpython recipe
Ignored python, already processed
Modules changed to hostpython python sdl zope pygame pyjnius twisted 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 zope
Module zope already downloaded
Download package for pygame
Module pygame already downloaded
Download package for pyjnius
Module pyjnius already downloaded
Download package for twisted
Module twisted 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_zope
Call prebuild_pygame
Call prebuild_pyjnius
Call prebuild_twisted
Call prebuild_android
Call prebuild_kivy
Run build
Skipped build_hostpython
Skipped build_python
Skipped build_sdl
Skipped build_zope
Skipped build_pygame
Skipped build_pyjnius
Call build_twisted
Entering in ARM environment
Compiler found at /Users/mac/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin//arm-linux-androideabi-gcc
Traceback (most recent call last):
File "setup.py", line 73, in <module>
main(sys.argv[1:])
File "setup.py", line 55, in main
from twisted.python.dist import (
File "./twisted/__init__.py", line 56, in <module>
from twisted.python import compat
File "./twisted/python/compat.py", line 307, in <module>
from io import BytesIO as NativeStringIO
File "/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/io.py", line 60, in <module>
import _io
ImportError: dlopen(/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so, 2): no suitable image found. Did find:
/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00
Traceback (most recent call last):
File "setup.py", line 73, in <module>
main(sys.argv[1:])
File "setup.py", line 55, in main
from twisted.python.dist import (
File "./twisted/__init__.py", line 56, in <module>
from twisted.python import compat
File "./twisted/python/compat.py", line 307, in <module>
from io import BytesIO as NativeStringIO
File "/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/io.py", line 60, in <module>
import _io
ImportError: dlopen(/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so, 2): no suitable image found. Did find:
/Users/mac/PycharmProjects/fyp/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/lib-dynload/_io.so: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00
# Command failed: ./distribute.sh -m "kivy twisted" -d "clienttest"
#
# 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