pratikbutani / MultiSelectSpinner

Android - Select Multiple Items from Spinner with Filtration.
http://pratikbutani.github.io/MultiSelectSpinner/
GNU General Public License v3.0
253 stars 125 forks source link

Unable to run application after importing library with app:mergeDebugResources and app:checkDebugDuplicateClasses #88

Closed CleatonPais closed 3 years ago

CleatonPais commented 3 years ago

hey i am attempting to use MultiSelectSpinner in my application but after importing it give me these errors. that does not allow the application to build

It only gets solved if i comment the import

this is my build.gradle file allprojects { repositories { google() mavenCentral() jcenter() maven { url 'https://jitpack.io' } }

also implementation 'com.github.pratikbutani:MultiSelectSpinner:1.0.1'

and these are the errors ` 1: Task failed with an exception.

2: Task failed with an exception.

I think this is something to do with maven that might be causing the duplicate class error

Thanks in advanced

CleatonPais commented 3 years ago

Found a solution to the issue that was used on another application

Add to gradle.properties android.useAndroidX=true android.enableJetifier=true

Thanks the library works great