2

I updated library from

androidx.constraintlayout:constraintlayout:2.0.0-alpha2
 to
androidx.constraintlayout:constraintlayout:2.0.0-alpha3  

and I sync the project now I am getting error in values.xml with below, I don't know where I did wrong, error is Android resource compilation failed error: duplicate value for resource 'attr/visibility' with config ''. and error: resource previously defined here.

  <declare-styleable name="PropertySet"><attr name="visibility">
                <enum name="visible" value="0"/>
                <enum name="invisible" value="1"/>
                <enum name="gone" value="2"/>
            </attr><attr format="float" name="alpha"/><attr name="progress"/></declare-styleable>
Hemanth SP
  • 41
  • 3

1 Answers1

3

This is issue on constraintlayout:2.0.0-alpha3, hopefully it will be fixed on next alpha release: https://issuetracker.google.com/issues/121395935

devha
  • 3,307
  • 4
  • 28
  • 52