question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:react-native-calendar-events] /Users/tu/Desktop/HomePage/homepage-mobile/node_modules/react-native-calendar-events/android/build/intermediates/manifests/full/debug/AndroidManifest.xml as the library might be using APIs not available in 16

See original GitHub issue

Environment

Steps to Reproduce

Expected Behavior

Actual Behavior

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

64reactions
FonDorncommented, Feb 8, 2019

You also can add to build.gradle file next code:

ext {
    buildToolsVersion = "26.0.3"
    minSdkVersion = 19
    compileSdkVersion = 26
    targetSdkVersion = 26
    supportLibVersion = "26.1.0"
}
4reactions
padvladcommented, Jan 30, 2019

Adding this inside the application manifest should temporary fix the issue.

<uses-sdk
  android:minSdkVersion="16"
  tools:overrideLibrary="com.calendarevents" />

This may cause some issues in the future if some functionality is added that is not supported on pre-KitKat devices. I believe that the minSdkVersion should be bumped down, since it not seems to be related to any real limitations, or the reasoning (if any) behind the bump from 16 to 19 should be documented.

Read more comments on GitHub >

github_iconTop Results From Across the Web

uses-sdk:minSdkVersion 15 cannot be smaller than version ...
By default, when importing a library with a minSdkVersion value that's higher than the main manifest file, an error occurs and the library...
Read more >
Manifest merger failed : uses-sdk:minSdkVersion 19 cannot ...
This is occurring because you (or a plugin) is setting the project min sdk to something lower than the cordova framework's min sdk,...
Read more >
Manifest merger failed: uses-sdk:minSdkVersion 16 cannot be ...
... for the error " Manifest merger failed : uses-idk:minSdkVersion 16 cannot be smaller than version 19 declared in library [com.google.an.
Read more >
[Solved][Flutter] Manifest merger failed : uses-sdk ...
Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 21 declared in library [:camera]
Read more >
Manifest merging runs all the time [143693655] - Issue Tracker
Suggestion: use a compatible library with a minSdk of at most 19, ... merger failed : uses-sdk:minSdkVersion 19 cannot be smaller than version...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found