Android Manifest Merger Failed: uses-sdk:minSdkVersion cannot be smaller than library

A dependency requires a higher `minSdk` than the app module.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: Android Manifest Merger Failed Platform: Mobile
Common Root Causes:
  • A dependency requires a higher `minSdk` than the app module.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Raise app `minSdk` to meet the library requirement or pin an older compatible library version.
Safe Diagnostic Command:
Check Gradle build output merger report
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

A dependency requires a higher `minSdk` than the app module. Recommended diagnostic: `Check Gradle build output merger report`. Remediation: Raise app `minSdk` to meet the library requirement or pin an older compatible library version.

Worked Examples

  • Run `Check Gradle build output merger report` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-android-minsdk-library-conflict · Independently verified: 2026-11-25

Related Resources