Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

why does buildozer crash on ubuntu 24.04 while running buildozer -v android debug

$
0
0

I just switched from linux mint to ubuntu and then tried rebuilding an apk with buildozer on ubuntu which worked perfectly fine with mint but i keep getting the following error:

In file included from /home/joshua-gabriel/TP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_23/python3/Python/remote_debugging.c:9:/home/joshua-gabriel/TP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_23/python3/Python/remote_debug.h:958:22: error: implicit declaration of function 'preadv' is invalid in C99 [-Werror,-Wimplicit-function-declaration]        read_bytes = preadv(handle->memfd, local, 1, offset);                     ^/home/joshua-gabriel/TP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/armeabi-v7a__ndk_target_23/python3/Python/remote_debugging.c:48:19: error: implicit declaration of function 'pwritev' is invalid in C99 [-Werror,-Wimplicit-function-declaration]        written = pwritev(handle->memfd, local, 1, offset);                  ^2 errors generated.make: *** [Makefile:3269:# Command failed: ['/home/joshua-gabriel/TP/tp_venv/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=alp', '--bootstrap=sdl2', '--requirements=python3,cython==0.29.36,asyncgui==0.6.3,asynckivy==0.6.4,certifi==2025.6.15,charset-normalizer==3.4.2,defusedxml==0.7.1,docutils==0.21.2,idna==3.10,kivy==2.3.1,kivy-garden==0.1.5,https://github.com/kivymd/KivyMD/archive/b4de35f.zip,lxml==5.4.0,materialyoucolor==2.0.10,plyer==2.1.0,pygments==2.19.1,pyjnius==1.7.0,python-docx==1.2.0,requests==2.32.4,skelmis-docx==2.3.0,typing-extensions==4.14.0,urllib3==2.4.0,webcolors==24.11.1,exceptiongroup,android,pillow==11.2.1,fonttools==4.43.1,fpdf2', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--local-recipes', '/home/joshua-gabriel/TP/p4a_recipes', '--color=always', '--storage-dir=/home/joshua-gabriel/TP/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=23', '--ignore-setup-py', '--debug']

To reproduce

sudo apt updatesudo apt install -y python3 python3-pip python3-venv git zip unzip \    openjdk-17-jdk libffi-dev libssl-dev autoconf libtool pkg-config \    zlib1g-dev libjpeg-dev libsqlite3-dev libpng-dev adbpython3 -m venv venvsource venv/bin/activatepip install --upgrade pippip install buildozer cythonbuildozer init#Then create a basic kivy appbuildozer -v android debug

I searched through google and found nothing. IWould really appreciate a response


Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>