unsplash / unsplash-photopicker-android

📱An Android photo picker to search and download photos from Unsplash.
MIT License
336 stars 62 forks source link

Manifest merger failed #3

Closed alyxe-code closed 5 years ago

alyxe-code commented 5 years ago

I have added the maven package then added implementation to app build.gradle. Then I sync and click [make project]. Once after there's an error Manifest marger failed.

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.1.0-alpha05] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory). Suggestion: add 'tools:replace="android:appComponentFactory"' to element at AndroidManifest.xml:7:5-23:19 to override.

goui commented 5 years ago

Your project must use the androidx artifact. Will add this to the readme requirements. Sorry for the inconvenience.

goui commented 5 years ago

@p2lem8dev did it fix your problem?