Android Build Error armelf_linux_eabi

Hi, I’m using Linux Debian 11 and I’m not able to build for Android, I haven’t implemented anything yet I just created the project and tried to build it, then I get the following error:

/usr/bin/ld:unrecognized emulation mode: armelf_linux_eabi

I’ve been trying to solve this for a few days without success.

find the solution here:
https://stackoverflow.com/questions/28135004/ld-unrecognised-emulation-mode-armelf-linux-eabi