Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to fix the problem "Attribute "rippleColor" has already been defined" ? #167

Closed
willowcheng opened this issue Feb 21, 2015 · 21 comments
Closed

Comments

@willowcheng
Copy link

Hi,

I face the trouble with Error:(1) Attribute "rippleColor" has already been defined since I also use MaterialNavigationDrawer library.

It seems there is confict with these two repositories in terms of some defined attributes.

@tarunmahe
Copy link

Yes, same issue. Eventually I had to remove this library from the project.

@tatianagrange
Copy link

Hi,

I have the same problem. Someone know if it come from update on MaterialNavigationDrawer or MaterialDesignLibrary?

@willowcheng
Copy link
Author

@tatianagrange , I've reported the same problem to MaterialNavigationDrawer. You now could update your MaterialNavigationDrawer to version 1.3.2 to solve this problem.

compile 'it.neokree:MaterialNavigationDrawer:1.3.2'

Iit's fine for me.

@tatianagrange
Copy link

@willowcheng : Thank's a lot! Problem solve!

@tarunmahe
Copy link

Thanks. I think you should mark the issue as closed.

@wilksmatt
Copy link

Hi, the same error occurs because of a conflict with 'com.android.support:design:22.2.0'. Can the "rippleColor" attribute be corrected in MaterialDesignLibrary? Thanks.

@chrisdonovan1006
Copy link

Hey, I am having the same issue as wilksmatt can the MaterialDesignLibrary be updated, cheers.

@ArunPandiyan
Copy link

Still there is problem because of "rippleColor".

@wilksmatt
Copy link

Hi,

Can this issue be re-opened? I expect that the fix is pretty straight forward. I would love to use this library in my app in the Google Play store but currently cannot because of this issue.

Thanks,

Matt

@toughrogrammer
Copy link

I met same problem. It should be changed.

@Informatheus
Copy link

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

@toughrogrammer
Copy link

Me too. I think this library should add prefix for variables of resources to avoid these errors.

@HectorFGarcia
Copy link

I have the same problem, I'm using com.android.support:design:23.0.0.

@sohayb
Copy link

sohayb commented Aug 28, 2015

This has been reported multiple times. What I think as a solution if someone really needs the library, is to fork and change the attributes (add a prefix) or download it, add a prefix to the attributes and use it inside his app module.

@Nikolai-Cook
Copy link

@sohayb Thanks! I was able to download the code, find the attributes.xml file and just rename the rippleColor and it works!

@Zane96
Copy link

Zane96 commented Nov 18, 2015

@willowcheng I use the design 23.0.1, then I change the matrialNavigationDrawer version to 1.3.2. It doesn't work for me

@willowcheng
Copy link
Author

@Zane-cqupt Hi, sorry I didn't use design library yet. I'm not sure which MaterialNavigationDrawer library you are using but I moved to koesie10's MaterialNavigationDrawer library since original author doesn't support the library any more (some bugs are not fixed yet).

@Zane96
Copy link

Zane96 commented Nov 20, 2015

@willowcheng hi,are u chinese?你好。you mean the original auther of MatrialNavigationDrawer library doesn't support the library anymore?..fine, I remove the design library. and if I must use the Drawer in android, I can use the DrawerLayout in design library instead of MatrialNavigationDrawer library.

@willowcheng
Copy link
Author

@Zane-cqupt 嗯,是的。MaterialNavigationDrawer 这个库很方便使用倒是。

@ImTosS
Copy link

ImTosS commented Dec 17, 2015

I´m having the same issue right now, I´ll have to remove the library from my project.

@niwinnm
Copy link

niwinnm commented Apr 27, 2016

I have modified the attribute "rippleColor" to "mRippleColor". Have forked the library in here: https://github.com/vajro/MaterialDesignLibrary. Hope it helps someone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests