Hi
I'm trying to build the apk with buildozer, but I get this error
In file included from /home/alan/Pruebas/qrconquista/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Modules/_remote_debugging_module.c:31:
/home/alan/Pruebas/qrconquista/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Modules/../Python/remote_debug.h:886:15: error: implicit declaration of function 'search_linux_map_for_section' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
address = search_linux_map_for_section(handle, "PyRuntime", "python");
^
/home/alan/Pruebas/qrconquista/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/Modules/_remote_debugging_module.c:814:15: error: implicit declaration of function 'search_linux_map_for_section' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
address = search_linux_map_for_section(handle, "AsyncioDebug", "_asyncio.cpython");
^
2 errors generated.
make: *** [Makefile:3563: Modules/_remote_debugging_module.o] Error 1
I'm working with an app project that reads QRs with opencv and decodes them with zbar. I tried to apply a patch that solves the syntax issue in the C file, but I think it gets overwritten on each call to buildozer android debug.
The issue about C99 is posted at
And points to a patch in C-Python
Any hints on what should I check to get the .apk built?
I'm running kivy and buildozer over a python venv on Ubuntu 24.04 amd processor PC
Thanks
Alan