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

Attribute rippleColor is defined in the new design support library

SudaNix opened this issue · comments

rippleColor attribute is now defined on the new design support library ('com.android.support:design:22.2.0')
https://android.googlesource.com/platform/frameworks/support/+/android-m-preview/design/res/values/attrs.xml

So we cannot use this library and the design library in the same time.
Any suggestion?

I have the same problem??

Same issue for me.

I imported MaterialDesignLibrary into my project as a library and changed the "rippleColor" attribute name. It works now with new design support library. It can be a temporary solution.

Uffff, it is a bad issue, this change will effect to all users.
I will change the attribute name in the next version and i will notify this change to the all users.
Thanks!

Same issue for me.

This library is widely used. Because of this I have to download your project and make the change or simply stop using this library. Please add a namespace to your attributes or simply change this single one quickly.

Yeah dude, if someone could just change this to RippleColor or something, we'd love you forever!

Same issue... :(

I have the same issue. Please fix it asap.

The library is great, but please fix this issue, it's pretty essential to my app :/

Please, try to fix this issue ASAP. I use this library a lot :(

@navasmdc Is there an ETA on when this might be fixed? I’d like to use it in a beta apk release at the end of the month.

are there any solution??

any plan for fixing this?!

Same here!

me too..Any luck?

Same problem, i had to stop using this lib cause i need com.android.support:design:22.2.1.

I remove it also....too pity

I'm getting this problem too.

I'm facing the same problem:

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

when adding the new library
compile 'com.android.support:design:22.2.1'

I've compiled a version which can be used alongside support design library
(eliminates Attribute "rippleColor" has already been defined error) :

compile 'com.android.support:design:22.2.1'

changes:
kosiara@e94c9f3

binary aar file:
https://github.com/kosiara/MaterialDesignLibrary/raw/e3a94ec606062eeb3ae2421a119cd729c43fee76/compiled-versions/MaterialDesign-md_ready-release.aar

Same Problem!

anyway we can exclude any repeated resources I'm having a similar issue with color.xml and values...

I have modified the attribute "rippleColor" to "mRippleColor"

Have forked the current version in here: https://github.com/vajro/MaterialDesignLibrary

@niwinnm Thanks, is it normal that minimum SDK is 16? can't it be set to 15?

Well, I simply forked the version and altered the rippleColor attribute. The minimum SDK should be same as the parent version.

Does anyone know why this isn't being merged in? @tianzhijiexian @navasmdc are you guys done maintaining this?

Well there aren't many people on 15 anyway, but I always thought the library worked on SDK 15 :-)

commented

Has this problem been resolved in the latest version? I am also getting this error as I want to use floating label from android support library, How do I go about solving this issue?

@niwinnm i have problem when am using compile 'com.github.vajro:MaterialDesignLibrary:1.6' . It gives mw an error which says Failed to resolve: com.github.vajro:MaterialDesignLibrary:1.6
What can i do to resolve this?

@Zapnologica - I renamed the attribute rippleColor to remove this issue. You could use my forked version instead: https://github.com/vajro/MaterialDesignLibrary

@blackvvine - Yeah. I usually use 16 as minimum SDK for all my apps.

Thanks niwinnm for the fork.
However, it's kind of shocking that this obvious bug still hasn't been fixed by the creators of this library!

Having the same issue. Using @niwinnm repo fixed it although have to use minimum API version as 16