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" />
Post your comments / questions
Recent Article
- How to Enable Virtualization in BIOS Security Settings in Intel Processors For Android Studio?
- Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that depend on it.
- AttributeError: 'NoneType' object has no attribute 'get_text' - Python
- ModuleNotFoundError: No module named 'openpyxl' - Python
- How to get thumbnail from vimeo video URL in Python?
- Remove all special characters, punctuation except spaces from string - Python
- OSError: cannot write mode RGBA as JPEG- Python
- expected str, bytes or os.PathLike object, not JpegImageFile - Python
Related Article