ShawnLin013 / NumberPicker

:slot_machine: The android library that provides a simple and customizable NumberPicker.
MIT License
1.07k stars 240 forks source link

The library is failing to build the app saying manifest merger failed #178

Closed chaitanyasarary4 closed 3 years ago

chaitanyasarary4 commented 3 years ago

I am getting this issue.

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

Please help me resolve. Thanks..

ShawnLin013 commented 3 years ago

@chaitanyasarary4 You need to migrate your project to AndroidX or use the older version 2.4.6

chaitanyasarary4 commented 3 years ago

@chaitanyasarary4 You need to migrate your project to AndroidX or use the older version 2.4.6

Thank you so much for the resolution. I have upgraded to AndroidX and now your library is working like charm.