KeenenCharles / AndroidUnplash

An unofficial Unsplash API library for Android
MIT License
85 stars 22 forks source link

Error in last version #15

Closed FirstVoyager closed 5 years ago

FirstVoyager commented 5 years ago

When i use last version (1.0.4) .... show this error :

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from AndroidManifest.xml:11:9-82
    is also present at [androidx.core:core:1.0.1] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
    Suggestion: add 'tools:replace="android:appComponentFactory"' to <application> element at AndroidManifest.xml:5:5-23:19 to override.

Instead, I used the version (1.0.0) and the problem was resolved. Please check it

KeenenCharles commented 5 years ago

The latest version of the library uses AndroidX. Updating your project to use AndroidX libraries should fix it.

FirstVoyager commented 5 years ago

Thank you 🙏, The problem was solved