Hi @gianncap994 as you have an A3 (2016) I checked the lineage build page Build for a3xelte | LineageOS Wiki, it is fairly recently updated in that it mentions adjustments for Ubuntu versions 23.10 (mantic) and 20.04 (focal).
Maybe it can be a little daunting ...
… to get your environment correct but not hard when you allow time to follow the early stages of the build instructions. I use Debian 12.
The advice there on java and python appears to be up to date if using Ubuntu, When using Debian you just have to ensure that python is python3. I prefer to keep my build environment clear of any Java installed from any other sources.
a3xelte
will just build from docker, (and the environment is expected set up for you, but this is not everyone’s experience ) but I prefer not to get involved as I find it harder to learn docker than to learn to build Android.
To establish that you have a useful working environment I would suggest building your own LineageOS at Android 11 (R) 18.1, once you know LineageOS builds it is easy to upgrade your workflow to /e/OS.
People often get stuck at “Extract proprietary blobs”, but when you get to that stage you could check out [Walkthrough] device.xml for local_manifests where this technique is explained
and a full device.xml for a3xelte
is shown.
Feel free to start a new thread perhaps under UnOfficial Builds for further support. Good luck.