Log in to the main folder of the project.
Go to the file config.xml. You will find these two lines:
<preference name="android-minSdkVersion" value="15"/>
<preference name="android-maxSdkVersion" value="23"/>
<preference name="android-targetSdkVersion" value="23"/>
In minSdkVersion you choose the minimum version number that is equivalent to Android version.
In minSdkVersion you choose the maximum version number that is equivalent to Android version.
In targetSdkVersion you choose the version number you want to compile the application.
To find out which number enter the site below and see the list:
https://developer.android.com/guide/topics/manifest/uses-sdk-element.html
Then it’s just build again.