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

error: duplicate value for resource 'attr/layout_anchorGravity' with config ''. #134

Open
GusWard opened this issue Sep 8, 2018 · 11 comments

Comments

@GusWard
Copy link

GusWard commented Sep 8, 2018

Incompatibility with CoordinatorLayout which already defines layout_anchorGravity in newer versions.

@yonghun7478
Copy link

do you add implementation 'com.android.support:design:XX.X.X', implementation 'com.android.support:support-v4:XX.X.X' ?
when I saw "duplicate value for resource" message I just had implementation 'com.android.support:appcompat-v7:28.0.0'

and I added implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0' and worked it !

@AizenSousek
Copy link

THX,worked after add dependencies

@nagdeo
Copy link

nagdeo commented Jan 7, 2019

Thanks! It worked after adding design dependency

@VictorKabata
Copy link

Thanks it solved my problem

@niktram
Copy link

niktram commented Apr 19, 2019

Thank you... worked for me too...

@tayab-sheikh
Copy link

thanks

@gezihua
Copy link

gezihua commented Jul 18, 2019

PS_ANDROIDBUILDTOOLSVERSION=29.0.1
android.aapt2FromMavenOverride=${Android_home}/build-tools/29.0.1/aapt2

disable aapt2 from maven

@atwiineharman
Copy link

atwiineharman commented Nov 13, 2019

hi there i already have the dependencies and am still getting the same error

@titosobabas
Copy link

do you add implementation 'com.android.support:design:XX.X.X', implementation 'com.android.support:support-v4:XX.X.X' ?
when I saw "duplicate value for resource" message I just had implementation 'com.android.support:appcompat-v7:28.0.0'

and I added implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0' and worked it !

works perfect but in my case using material search view library

@colombiaje
Copy link

Thanks to you.
Where is the implementation created?

@xSynergyx
Copy link

Thanks! This worked well.

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