Hello. So i have this problem where i tried to generate an apk with buildozer but it was giving me this error:
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... Android linker
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for x86_64-pc-linux-gnu-gcc... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for suffix of native executables... ld: error: unknown argument '--no-add-needed'
collect2: error: ld returned 1 exit status
configure: error: native C compiler is not working
make: *** [builds/unix/
detect.mk:91: setup] Error 1
so as it says C compiler is not working" i thought it was something with my gcc, but i tried to use buildozer in a simpler program, a kivy hello world, and it worked. So i was pretty sure the problem was in the requirements, so i started experimenting on it by removing the requirements i've put and see if it was working. So i've noticed this problem would only appear if I put "pillow" in the requirements.
Now, dont know if this problem is regarding pillow, buildozer or kivy itself. And i cannot use another image provider because i have some ".gif" images in the app and it only shows if i use pillow.
here is the requirement part of the buildozer_spec:
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy==2.1.0,kivymd==1.1.1,ffpyplayer,pillow
I how you guys can help me with this or show me the right direction. sorry for the long text. and thank you for reading.