klinker41 / article-android

Android library for displaying web articles in a readable format
Other
153 stars 26 forks source link

Manifest merger failed #31

Closed ydirgan closed 5 years ago

ydirgan commented 5 years ago

Hello, @klinker41

I would like to use your library. Currently using api 28 but I am having the following error when sync gradle.

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:8:5-37:19 to override.

I followed the suggestion but same result. Any advice?

Regards

klinker24 commented 5 years ago

You can either upgrade your app to use Android X, or download an older version of the library that still uses the original support libraries

ydirgan commented 5 years ago

Thanks for the advice!

Everything is running OK Now!