Execution failed for task ':app:processDebugManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version 22 declared in library [:CordovaLib] C:\Users\MyComp\myfirst\platforms\android\CordovaLib\build\
intermediates\library_manifest\debug\AndroidManifest.xml as the library might be using APIs not available in 19
I got the following error while executing the following command ionic cordova run android in ionic project "uses-sdk:minSdkVersion 20 cannot be smaller than version 22 declared in library". After changing to higher version, set android-minSdkVersion to 23 in config.xml and then executed the project build successful.
<preference name="android-minSdkVersion" value="23" />