Skip to content

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

Open

Description

@GusWard

Incompatibility with CoordinatorLayout which already defines layout_anchorGravity in newer versions.

Activity

  1. yonghun7478 commented on Nov 20, 2018

    @yonghun7478

    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 !

  2. AizenSousek commented on Nov 26, 2018

    @AizenSousek

    THX,worked after add dependencies

  3. nagdeo commented on Jan 7, 2019

    @nagdeo

    Thanks! It worked after adding design dependency

  4. VictorKabata commented on Mar 31, 2019

    @VictorKabata

    Thanks it solved my problem

  5. niktram commented on Apr 19, 2019

    @niktram

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

  6. tayab-sheikh commented on Jun 27, 2019

    @tayab-sheikh

    thanks

  7. gezihua commented on Jul 18, 2019

    @gezihua

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

    disable aapt2 from maven

  8. atwiineharman commented on Nov 13, 2019

    @atwiineharman

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

  9. titosobabas commented on Dec 25, 2019

    @titosobabas

    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

  10. colombiaje commented on Jan 20, 2020

    @colombiaje

    Thanks to you.
    Where is the implementation created?

  11. xSynergyx commented on Sep 9, 2020

    @xSynergyx

    Thanks! This worked well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions