executing the code in Android studio
Manifest merger failed : uses-sdk:minSdkVersion 20 cannot be smaller than version 21 declared in library [androidx.appcompat:appcompat-resources:1.7.0] C:UsersGMI.gradlecachestransforms-4beba06c4e19413cf1745e43fcb83557atransformedappcompat-resources-1.7.0AndroidManifest.xml as the library might be using APIs not available in 20
Suggestion: use a compatible library with a minSdk of at most 20,
or increase this project's minSdk version to at least 21,
or use tools:overrideLibrary="androidx.appcompat.resources" to force usage (may lead to runtime failures)
New contributor
khalil mhiri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.