You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried a lot of things found in Internet to fix this error, but nothing solve it.
This is the error (I have cut the previous output)
...
running build_ext
building 'pygame.imageext' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/mk/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/mk/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/png -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/jpeg -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl/include -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_mixer -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_ttf -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_image -fPIC -D_REENTRANT -I/usr/include/python2.7 -c src/imageext.c -o build/temp.linux-x86_64-2.7/src/imageext.o
In file included from /usr/include/python2.7/Python.h:8:0,
from src/pygame.h:75,
from src/imageext.c:47:
/usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
include <arm-linux-gnueabi/python2.7/pyconfig.h>
^
compilation terminated.
error: command 'ccache' failed with exit status 1
# Command failed: ./distribute.sh -m "kivy" -d "mpfapp"
#
# 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
The text was updated successfully, but these errors were encountered:
Previously to the above error I get this other error
...
Entering in ARM environment
Compiler found at /home/mperez/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
Could not find platform independent libraries
Consider setting $PYTHONHOME to [:<exec_prefix>]
ImportError: No module named site
I have solved it defining the variable PYTHONHOME as follow
export PYTHONHOME=/usr
I have commented this just in case the previous error is related with this
I have a problem trying to create an apk package. I get the same error when I execute
./distribute.sh -m "kivy"
or
buildozer android debug
I am using a debian jessie distrbution and I have installed all the prerequisites commented in http://kivy.org/docs/guide/packaging-android.html and http://python-for-android.readthedocs.org/en/latest/prerequisites/
I have tried a lot of things found in Internet to fix this error, but nothing solve it.
This is the error (I have cut the previous output)
...
running build_ext
building 'pygame.imageext' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/mk/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/mk/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/png -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/jpeg -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl/include -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_mixer -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_ttf -I/home/mk/kivy-test/.buildozer/android/platform/python-for-android/src/jni/sdl_image -fPIC -D_REENTRANT -I/usr/include/python2.7 -c src/imageext.c -o build/temp.linux-x86_64-2.7/src/imageext.o
In file included from /usr/include/python2.7/Python.h:8:0,
from src/pygame.h:75,
from src/imageext.c:47:
/usr/include/python2.7/pyconfig.h:15:52: fatal error: arm-linux-gnueabi/python2.7/pyconfig.h: No such file or directory
include <arm-linux-gnueabi/python2.7/pyconfig.h>
compilation terminated.
error: command 'ccache' failed with exit status 1
# Command failed: ./distribute.sh -m "kivy" -d "mpfapp"
#
# 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
The text was updated successfully, but these errors were encountered: