MaterialDesignLibrary icon indicating copy to clipboard operation
MaterialDesignLibrary copied to clipboard

"rippleColor" has already been defined

Open MrThiago opened this issue 10 years ago • 3 comments

when I include your library in my project I get this error:

Error:(200) Attribute "rippleColor" has already been defined

MrThiago avatar Mar 25 '16 06:03 MrThiago

This error was reported multiple times already. See: https://github.com/navasmdc/MaterialDesignLibrary/issues/274

It's because there is a parameter with same name in the official design support library. You have to clone this repo and rename this attribute. Or you can look for already fixed repo - I'm sure that someone already did that.

ZieIony avatar Mar 26 '16 20:03 ZieIony

This is something dev should quickly fix. Aint a tough task as such.

srujanb avatar Jul 19 '16 11:07 srujanb

I found the solution here (https://github.com/navasmdc/MaterialDesignLibrary/issues/289 ). The MaterialDesign Library's rippleColor attritube is replaced with mRippleColor attribute and the compiled library is forked here (https://github.com/vajro/MaterialDesignLibrary).

replacing: compile 'com.github.navasmdc:MaterialDesign:1.5@aar' with: compile 'com.github.vajro:MaterialDesignLibrary:1.6'

adnen-chouibi avatar Feb 05 '17 17:02 adnen-chouibi