c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
Ionic framework

Manifest merger failed : uses-sdk:minSdkVersion 20 cannot be smaller than version 22 declared in library

| | Console , ionic , mobile

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.

config.xml:

  <preference name="android-minSdkVersion" value="23" />