Enter the main project folder.
Go to the config.xml file. 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 the Android version.
In minSdkVersion you choose the maximum version number that is equivalent to the Android version.
In targetSdkVersion you choose the version number you want to compile the application.
To find out which number is on the site below and see the list:
link
Then just build again.