Buildozer fails on jnius

86 views
Skip to first unread message

Mark Melvin

unread,
Aug 8, 2016, 11:09:49 AM8/8/16
to Kivy users support
Hi All,

Can anyone help me to track down the reason for this build failure?  I'm trying to build my app for Android using the virtual machine:

kivy@kivy-VirtualBox:~/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app$ buildozer android debug
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# 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-7-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
# Install platform
# Apache ANT found at /home/kivy/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/kivy/.buildozer/android/platform/android-sdk-20
# Android NDK found at /home/kivy/.buildozer/android/platform/android-ndk-r9c
# Check application requirements
# Run './distribute.sh -l'
# Cwd /home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.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/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.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/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android/dist/br281demo
# Run './distribute.sh -m "kivy" -d "br281demo"'
# Cwd /home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android
Check build dependencies for Ubuntu
Packages missing: cython 
It might break the compilation, except if you installed thoses packages manually.
Check environment
SDK located at /home/kivy/.buildozer/android/platform/android-sdk-20
NDK located at /home/kivy/.buildozer/android/platform/android-ndk-r9c
NDK version is r9c
API level set to 19
Check NDK location
Check mandatory tools
Distribution will be located at /home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android/dist/br281demo
Entering in ARM environment
Compiler found at /home/kivy/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
PATH is /home/kivy/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/kivy/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/kivy/.buildozer/android/platform/android-ndk-r9c:/home/kivy/.buildozer/android/platform/android-sdk-20/tools:/home/kivy/.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
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/kivy/.buildozer/android/platform/android-ndk-r9c/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/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/site-packages/six-1.9.0-py2.7.egg-info
Writing /home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.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/kivy/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
/home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.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
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -fPIC -I/home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_check_exception':
jnius/jnius.c:3817:93: error: 'const_char' undeclared (first use in this function)
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                             ^
jnius/jnius.c:3817:93: note: each undeclared identifier is reported only once for each function it appears in
jnius/jnius.c:3817:105: error: expected expression before ')' token
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                         ^
jnius/jnius.c:3817:133: error: expected expression before ')' token
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                                     ^
jnius/jnius.c:3826:110: error: expected expression before ')' token
     __pyx_v_getMessage = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getMessage"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                              ^
jnius/jnius.c:3826:140: error: expected expression before ')' token
     __pyx_v_getMessage = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getMessage"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                                            ^
jnius/jnius.c:3835:108: error: expected expression before ')' token
     __pyx_v_getCause = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getCause"), ((const_char *)"()Ljava/lang/Throwable;"));
                                                                                                            ^
jnius/jnius.c:3835:136: error: expected expression before ')' token
     __pyx_v_getCause = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getCause"), ((const_char *)"()Ljava/lang/Throwable;"));
                                                                                                                                        ^
jnius/jnius.c:3844:113: error: expected expression before ')' token
     __pyx_v_getStackTrace = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getStackTrace"), ((const_char *)"()[Ljava/lang/StackTraceElement;"));
                                                                                                                 ^
jnius/jnius.c:3844:146: error: expected expression before ')' token
     __pyx_v_getStackTrace = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getStackTrace"), ((const_char *)"()[Ljava/lang/StackTraceElement;"));
                                                                                                                                                  ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_lookup_java_object_name':
jnius/jnius.c:5120:83: error: 'const_char' undeclared (first use in this function)
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                   ^
jnius/jnius.c:5120:95: error: expected expression before ')' token
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                               ^
jnius/jnius.c:5120:122: error: expected expression before ')' token
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                          ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_jobject_to_python':
jnius/jnius.c:8861:90: error: 'const_char' undeclared (first use in this function)
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                          ^
jnius/jnius.c:8861:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                                      ^
jnius/jnius.c:8861:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                                                                   ^
jnius/jnius.c:8912:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"intValue"), ((const_char *)"()I"));
                                                                                                      ^
jnius/jnius.c:8912:130: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"intValue"), ((const_char *)"()I"));
                                                                                                                                  ^
jnius/jnius.c:8963:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"floatValue"), ((const_char *)"()F"));
                                                                                                      ^
jnius/jnius.c:8963:132: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"floatValue"), ((const_char *)"()F"));
                                                                                                                                    ^
jnius/jnius.c:9014:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"doubleValue"), ((const_char *)"()D"));
                                                                                                      ^
jnius/jnius.c:9014:133: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"doubleValue"), ((const_char *)"()D"));
                                                                                                                                     ^
jnius/jnius.c:9065:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *)"()S"));
                                                                                                      ^
jnius/jnius.c:9065:132: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *)"()S"));
                                                                                                                                    ^
jnius/jnius.c:9116:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char *)"()Z"));
                                                                                                      ^
jnius/jnius.c:9116:134: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char *)"()Z"));
                                                                                                                                      ^
jnius/jnius.c:9167:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"byteValue"), ((const_char *)"()B"));
                                                                                                      ^
jnius/jnius.c:9167:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"byteValue"), ((const_char *)"()B"));
                                                                                                                                   ^
jnius/jnius.c:9218:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"charValue"), ((const_char *)"()C"));
                                                                                                      ^
jnius/jnius.c:9218:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"charValue"), ((const_char *)"()C"));
                                                                                                                                   ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_python_to_jobject':
jnius/jnius.c:10734:95: error: 'const_char' undeclared (first use in this function)
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                               ^
jnius/jnius.c:10734:107: error: expected expression before ')' token
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                           ^
jnius/jnius.c:10734:133: error: expected expression before ')' token
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                                                     ^
jnius/jnius.c:11448:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(B)V"));
                                                                                                         ^
jnius/jnius.c:11448:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(B)V"));
                                                                                                                                   ^
jnius/jnius.c:11496:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(S)V"));
                                                                                                         ^
jnius/jnius.c:11496:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(S)V"));
                                                                                                                                   ^
jnius/jnius.c:11544:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                         ^
jnius/jnius.c:11544:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                                                   ^
jnius/jnius.c:11595:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(J)V"));
                                                                                                         ^
jnius/jnius.c:11595:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(J)V"));
                                                                                                                                   ^
jnius/jnius.c:11643:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(F)V"));
                                                                                                         ^
jnius/jnius.c:11643:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(F)V"));
                                                                                                                                   ^
jnius/jnius.c:11691:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(D)V"));
                                                                                                         ^
jnius/jnius.c:11691:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(D)V"));
                                                                                                                                   ^
jnius/jnius.c:11739:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(C)V"));
                                                                                                         ^
jnius/jnius.c:11739:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(C)V"));
                                                                                                                                   ^
jnius/jnius.c:11787:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(Z)V"));
                                                                                                         ^
jnius/jnius.c:11787:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(Z)V"));
                                                                                                                                   ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_13MetaJavaClass_4resolve_class':
jnius/jnius.c:16992:103: error: 'const_char' undeclared (first use in this function)
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                       ^
jnius/jnius.c:16992:115: error: expected expression before ')' token
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                                   ^
jnius/jnius.c:16992:148: error: expected expression before ')' token
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                                                                    ^
jnius/jnius.c:17001:116: error: expected expression before ')' token
     __pyx_v_getClassLoader = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getClassLoader"), ((const_char *)"()Ljava/lang/Class;"));
                                                                                                                    ^
jnius/jnius.c:17001:150: error: expected expression before ')' token
     __pyx_v_getClassLoader = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getClassLoader"), ((const_char *)"()Ljava/lang/Class;"));
                                                                                                                                                      ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaClass_call_constructor':
jnius/jnius.c:19178:97: error: 'const_char' undeclared (first use in this function)
     __pyx_v_constructor = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_self->j_cls, ((const_char *)"<init>"), ((char *)__pyx_t_17));
                                                                                                 ^
jnius/jnius.c:19178:109: error: expected expression before ')' token
     __pyx_v_constructor = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_self->j_cls, ((const_char *)"<init>"), ((char *)__pyx_t_17));
                                                                                                             ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_py_invoke0':
jnius/jnius.c:30018:137: error: 'const_char' undeclared (first use in this function)
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                         ^
jnius/jnius.c:30018:149: error: expected expression before ')' token
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                                     ^
jnius/jnius.c:30018:172: error: expected expression before ')' token
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                                                            ^
jnius/jnius.c:30036:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
                             ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_create_proxy_instance':
jnius/jnius.c:31189:40: error: 'const_char' undeclared (first use in this function)
   (__pyx_v_invoke_methods[0]).name = ((const_char *)"invoke0");
                                        ^
jnius/jnius.c:31189:52: error: expected expression before ')' token
   (__pyx_v_invoke_methods[0]).name = ((const_char *)"invoke0");
                                                    ^
jnius/jnius.c:31198:57: error: expected expression before ')' token
   (__pyx_v_invoke_methods[0]).signature = ((const_char *)"(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;");
                                                         ^
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
/home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.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
building 'jnius' extension
arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/kivy/.buildozer/android/platform/android-ndk-r9c/platforms/android-19/arch-arm -fPIC -I/home/kivy/br281_demo/ae_root/Projects/VTC/code/kivy/demo_board_app/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_check_exception':
jnius/jnius.c:3817:93: error: 'const_char' undeclared (first use in this function)
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                             ^
jnius/jnius.c:3817:93: note: each undeclared identifier is reported only once for each function it appears in
jnius/jnius.c:3817:105: error: expected expression before ')' token
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                         ^
jnius/jnius.c:3817:133: error: expected expression before ')' token
     __pyx_v_toString = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_object, ((const_char *)"toString"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                                     ^
jnius/jnius.c:3826:110: error: expected expression before ')' token
     __pyx_v_getMessage = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getMessage"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                              ^
jnius/jnius.c:3826:140: error: expected expression before ')' token
     __pyx_v_getMessage = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getMessage"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                                            ^
jnius/jnius.c:3835:108: error: expected expression before ')' token
     __pyx_v_getCause = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getCause"), ((const_char *)"()Ljava/lang/Throwable;"));
                                                                                                            ^
jnius/jnius.c:3835:136: error: expected expression before ')' token
     __pyx_v_getCause = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getCause"), ((const_char *)"()Ljava/lang/Throwable;"));
                                                                                                                                        ^
jnius/jnius.c:3844:113: error: expected expression before ')' token
     __pyx_v_getStackTrace = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getStackTrace"), ((const_char *)"()[Ljava/lang/StackTraceElement;"));
                                                                                                                 ^
jnius/jnius.c:3844:146: error: expected expression before ')' token
     __pyx_v_getStackTrace = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_cls_throwable, ((const_char *)"getStackTrace"), ((const_char *)"()[Ljava/lang/StackTraceElement;"));
                                                                                                                                                  ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_lookup_java_object_name':
jnius/jnius.c:5120:83: error: 'const_char' undeclared (first use in this function)
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                   ^
jnius/jnius.c:5120:95: error: expected expression before ')' token
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                               ^
jnius/jnius.c:5120:122: error: expected expression before ')' token
   __pyx_v_jmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_jcls2, ((const_char *)"getName"), ((const_char *)"()Ljava/lang/String;"));
                                                                                                                          ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_jobject_to_python':
jnius/jnius.c:8861:90: error: 'const_char' undeclared (first use in this function)
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                          ^
jnius/jnius.c:8861:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                                      ^
jnius/jnius.c:8861:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"longValue"), ((const_char *)"()J"));
                                                                                                                                   ^
jnius/jnius.c:8912:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"intValue"), ((const_char *)"()I"));
                                                                                                      ^
jnius/jnius.c:8912:130: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"intValue"), ((const_char *)"()I"));
                                                                                                                                  ^
jnius/jnius.c:8963:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"floatValue"), ((const_char *)"()F"));
                                                                                                      ^
jnius/jnius.c:8963:132: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"floatValue"), ((const_char *)"()F"));
                                                                                                                                    ^
jnius/jnius.c:9014:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"doubleValue"), ((const_char *)"()D"));
                                                                                                      ^
jnius/jnius.c:9014:133: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"doubleValue"), ((const_char *)"()D"));
                                                                                                                                     ^
jnius/jnius.c:9065:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *)"()S"));
                                                                                                      ^
jnius/jnius.c:9065:132: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"shortValue"), ((const_char *)"()S"));
                                                                                                                                    ^
jnius/jnius.c:9116:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char *)"()Z"));
                                                                                                      ^
jnius/jnius.c:9116:134: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"booleanValue"), ((const_char *)"()Z"));
                                                                                                                                      ^
jnius/jnius.c:9167:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"byteValue"), ((const_char *)"()B"));
                                                                                                      ^
jnius/jnius.c:9167:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"byteValue"), ((const_char *)"()B"));
                                                                                                                                   ^
jnius/jnius.c:9218:102: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"charValue"), ((const_char *)"()C"));
                                                                                                      ^
jnius/jnius.c:9218:131: error: expected expression before ')' token
     __pyx_v_retmeth = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"charValue"), ((const_char *)"()C"));
                                                                                                                                   ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_convert_python_to_jobject':
jnius/jnius.c:10734:95: error: 'const_char' undeclared (first use in this function)
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                               ^
jnius/jnius.c:10734:107: error: expected expression before ')' token
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                           ^
jnius/jnius.c:10734:133: error: expected expression before ')' token
       __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                                                     ^
jnius/jnius.c:11448:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(B)V"));
                                                                                                         ^
jnius/jnius.c:11448:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(B)V"));
                                                                                                                                   ^
jnius/jnius.c:11496:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(S)V"));
                                                                                                         ^
jnius/jnius.c:11496:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(S)V"));
                                                                                                                                   ^
jnius/jnius.c:11544:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                         ^
jnius/jnius.c:11544:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(I)V"));
                                                                                                                                   ^
jnius/jnius.c:11595:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(J)V"));
                                                                                                         ^
jnius/jnius.c:11595:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(J)V"));
                                                                                                                                   ^
jnius/jnius.c:11643:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(F)V"));
                                                                                                         ^
jnius/jnius.c:11643:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(F)V"));
                                                                                                                                   ^
jnius/jnius.c:11691:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(D)V"));
                                                                                                         ^
jnius/jnius.c:11691:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(D)V"));
                                                                                                                                   ^
jnius/jnius.c:11739:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(C)V"));
                                                                                                         ^
jnius/jnius.c:11739:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(C)V"));
                                                                                                                                   ^
jnius/jnius.c:11787:105: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(Z)V"));
                                                                                                         ^
jnius/jnius.c:11787:131: error: expected expression before ')' token
     __pyx_v_retmidinit = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_retclass, ((const_char *)"<init>"), ((const_char *)"(Z)V"));
                                                                                                                                   ^
jnius/jnius.c: In function '__pyx_pf_5jnius_5jnius_13MetaJavaClass_4resolve_class':
jnius/jnius.c:16992:103: error: 'const_char' undeclared (first use in this function)
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                       ^
jnius/jnius.c:16992:115: error: expected expression before ')' token
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                                   ^
jnius/jnius.c:16992:148: error: expected expression before ')' token
     __pyx_v_getProxyClass = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getProxyClass"), ((const_char *)"(Ljava/lang/ClassLoader,[Ljava/lang/Class;)Ljava/lang/Class;"));
                                                                                                                                                    ^
jnius/jnius.c:17001:116: error: expected expression before ')' token
     __pyx_v_getClassLoader = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getClassLoader"), ((const_char *)"()Ljava/lang/Class;"));
                                                                                                                    ^
jnius/jnius.c:17001:150: error: expected expression before ')' token
     __pyx_v_getClassLoader = (__pyx_v_j_env[0])->GetStaticMethodID(__pyx_v_j_env, __pyx_v_baseclass, ((const_char *)"getClassLoader"), ((const_char *)"()Ljava/lang/Class;"));
                                                                                                                                                      ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_9JavaClass_call_constructor':
jnius/jnius.c:19178:97: error: 'const_char' undeclared (first use in this function)
     __pyx_v_constructor = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_self->j_cls, ((const_char *)"<init>"), ((char *)__pyx_t_17));
                                                                                                 ^
jnius/jnius.c:19178:109: error: expected expression before ')' token
     __pyx_v_constructor = (__pyx_v_j_env[0])->GetMethodID(__pyx_v_j_env, __pyx_v_self->j_cls, ((const_char *)"<init>"), ((char *)__pyx_t_17));
                                                                                                             ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_py_invoke0':
jnius/jnius.c:30018:137: error: 'const_char' undeclared (first use in this function)
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                         ^
jnius/jnius.c:30018:149: error: expected expression before ')' token
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                                     ^
jnius/jnius.c:30018:172: error: expected expression before ')' token
   __pyx_v_ptrField = (__pyx_v_j_env[0])->GetFieldID(__pyx_v_j_env, (__pyx_v_j_env[0])->GetObjectClass(__pyx_v_j_env, __pyx_v_j_this), ((const_char *)"ptr"), ((const_char *)"J"));
                                                                                                                                                                            ^
jnius/jnius.c:30036:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   __pyx_t_2 = ((PyObject *)((void *)__pyx_v_jptr));
                             ^
jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_create_proxy_instance':
jnius/jnius.c:31189:40: error: 'const_char' undeclared (first use in this function)
   (__pyx_v_invoke_methods[0]).name = ((const_char *)"invoke0");
                                        ^
jnius/jnius.c:31189:52: error: expected expression before ')' token
   (__pyx_v_invoke_methods[0]).name = ((const_char *)"invoke0");
                                                    ^
jnius/jnius.c:31198:57: error: expected expression before ')' token
   (__pyx_v_invoke_methods[0]).signature = ((const_char *)"(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;");
                                                         ^
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
# Command failed: ./distribute.sh -m "kivy" -d "br281demo"
# 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

Thanks,
Mark.

Mark Melvin

unread,
Aug 8, 2016, 12:15:50 PM8/8/16
to Kivy users support
This appears to be an issue with the version of Cython I had installed.  Apparently Cython 0.24 does not work with p4a?

Downgrading Cython to 0.21 seems to make the failure go away (at least that one - now I am stuck on an Ant error related to java class versions...).

Mark.


On Mon, Aug 8, 2016 at 11:09 AM, Mark Melvin <mark....@gmail.com> wrote:
Hi All,

Can anyone help me to track down the reason for this build failure?  I'm trying to build my app for Android using the virtual machine:

<<trimmed the fat>>

Thanks,
Mark.

Tom Smith

unread,
Dec 12, 2017, 8:09:37 AM12/12/17
to Kivy users support
Hi Mark!
I know this thread is old, however I'm also having the same error as you, and I'm hoping you found a resolution over the last year and a half! :)
I just installed the latest Image from the Kivy websited, running through Oracle, and I created a simple helloworld app from:

https://www.digitaljunky.io/make-a-snake-game-for-android-written-in-python-part-1/

It starts to compile just fine, installing all the dependencies, when finally it hits the same error you had above:

jnius/jnius.c: In function '__pyx_f_5jnius_5jnius_check_exception':

I have tried a few different versions of Cython, including 0.21, and I still get the same error.

Have you been able to learn anything else regarding these issues?

Thanks!
Tom

Mark Melvin

unread,
Dec 12, 2017, 9:37:55 PM12/12/17
to Kivy users support
Hi Tom,

Sorry - that was quite some time ago and after I solved the first error by changing Cython versions I encountered a bunch more errors which I eventually solved (and don't recall...).  
Then I got stuck trying to resolve a class from an included JAR file from my Android service written in Python and was never able to get past that.  Wish I could be more help... :(

Mark.

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tom Smith

unread,
Dec 13, 2017, 2:56:03 AM12/13/17
to kivy-...@googlegroups.com, Mark Melvin
Thanks for the feedback Mark!
I'm going to keep hunting for an answer ... I've attempted many times and many ways to compile a simple 'helloworld' app, and always end up with different errors.
Onward and upward! :)
Tom

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/rvv6qfSB-Og/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages