navasmdc / MaterialDesignLibrary

This is a library with components of Android L to you use in android 2.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"rippleColor" has already been defined

MrThiago opened this issue · comments

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

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

This error was reported multiple times already. See: #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.

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

I found the solution here (#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'