Compilation failed in Android proyect

When compiling an Android project to generate the .apk it always returns an error. I’m testing with an empty project and it’s a fresh install of Windows 10 x64 and Unity3d.
The error occurs with both versions 2022.3.9f1 and 2021.3.30f1.
Why is this happening?
I leave images of the error and the project configuration.

This happens by creating the project as 3D Mobile Core.
If I create it as 3D Core and change the platform to Android, when building the .apk it does not give any errors.

I saw it in another message that I hadn’t seen before.
It can be fixed by changing “Edit > Project settings > Player > Target api level” to Android 13.