minSdkVersion and targetSdkVersion
minSdkVersion 19 cannot be smaller than version 22 When you are facing this error during ionic project building, it is as a result that cordova does not set minSdkVersion and targetSdkVersion correctly in app apk. This was due to a bug in cordova-android@7.x.x but now solved with cordova-android updated versions. Updating to cordova-android@8.x.x is required …