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.

Version 6.0.0 causes manifest merger to fail with data binding

See original GitHub issue

I just updated the version from 4.1.0 to 6.0.0, but I got the below exception while syncing my project: (everything works fine on version 4.1.0)

Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 14 declared in library [androidx.databinding:databinding-adapters:3.2.0] /.gradle/caches/transforms-1/files-1.1/databinding-adapters-3.2.0.aar/5499271942aac4ac65cb5ae9c8335a6f/AndroidManifest.xml as the library might be using APIs not available in 1
	Suggestion: use a compatible library with a minSdk of at most 1,
		or increase this project's minSdk version to at least 14,
		or use tools:overrideLibrary="androidx.databinding.library.baseAdapters" to force usage (may lead to runtime failures)

Android Studio Version : 3.2.0

build.gradle

plugins {
    id "org.jlleitschuh.gradle.ktlint" version "6.0.0"
}
subprojects {
    apply plugin: "org.jlleitschuh.gradle.ktlint" 
}

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Tapchicomacommented, Oct 5, 2018

Please try released version 6.1.0 and feel free to reopen this issue.

0reactions
igorwojdacommented, Oct 5, 2018

6.1.0 works fine

Thanks a lot for outstanding support & extremely quick fix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting "Manifest merger failed" error after updating to a new ...
Error :Execution failed for task ':app:processDebugManifest'. Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=( ...
Read more >
Manifest merger failed - 20. Data Binding and MVVM
I believe the build.gradle needs some change, if I add RecyclerView library dependency then build, I have: Error:Execution failed for task ...
Read more >
fcmplugin: support for gradle v4 or lower is deprecated. please ...
It makes sure to always end up with a valid version of all assets, even if downloads take ... Manifest merger failed :...
Read more >
Activiti User Guide
ActivitiWrongDbException : Thrown when the Activiti engine discovers a mismatch between the database schema version and the engine version.
Read more >
Found conflicts between different versions of 'assembly' that ...
This error occurs during a build when more than one version of the same dependent assembly is referenced in a build of the...
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