googlecodelabs / android-build-an-app-architecture-components

Other
267 stars 133 forks source link

Manifest merger failed #33

Open doilio opened 5 years ago

doilio commented 5 years ago

This is what I get when I Try to Build the project

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(26.0.1) from [com.android.support:preference-v7:26.0.1] AndroidManifest.xml:25:13-35
    is also present at [com.android.support:support-core-utils:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
    Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:23:9-25:38 to override.
omergegic commented 5 years ago

You can use the fork from @LemuelHui https://github.com/LemuelHui/android-build-an-app-architecture-components/tree/e941734e05e5111ea7901b128fe6518c9cdba65d Just add to dependencies def room_version = "1.1.1" implementation "android.arch.persistence.room:runtime:$room_version" annotationProcessor "android.arch.persistence.room:compiler:$room_version" to Module:app build.gradle