SDK - How to get API level 4.2.2

I'm writing an App for my fenix 7 with the SDK. I want to use some methods of the Graphics.dc, which need API level 4.2.2 or later. In the manifest it's only possible to select 4.2.0 or 5.0.0. Unfortunately 5.x is not supported by the fenix 7.
Wenn I choose 4.2.2, the comiler stops with error message and requests API level 4.2.2. But even, when the API level in the manifest.xml ist manually set to 4.2.2, the compiler will stop with that error message.
How can that problem be solved?

Greetings, Ronny