AndroidImageSlider icon indicating copy to clipboard operation
AndroidImageSlider copied to clipboard

Error when sync the gradle, duplicate value for resource

Open burekas7 opened this issue 5 years ago • 3 comments

@daimajia error: duplicate value for resource 'attr/visibility' with config ''

It points to this file: \app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml

There is attribure with the name "visibility" that has the conflict. What should I need to do?

Thanks

burekas7 avatar Jan 08 '19 23:01 burekas7

same problem

NaturallyAsh avatar Jan 19 '19 22:01 NaturallyAsh

You should press on the xml path from the error log, and edit the attr name to another name such as "custom_visibilty", save and rebuild.

burekas7 avatar Jan 19 '19 23:01 burekas7

figured it out. For me I had to just delete my constraint layout dependency. attr/visibility was my problem but right under that it also said constraint layout was my problem. I deleted the dependency and it works now.

NaturallyAsh avatar Jan 19 '19 23:01 NaturallyAsh