By default we use the highest version available of the cordova android engine - currently 14.0.1. This defaults the minimum SDK version to 24, the target SDK to 35 and the compile SDK defaulting to the target SDK. You should find that if you remove those 4 lines your app should compile as expected.
We’ve seen quite a few questions lately regarding this exact play store message and in nearly all cases it was because the engine or target SDK was pinned to a lower version than required by Google.