Open juanstein opened 6 years ago
same error
error: duplicate value for resource 'attr/progress' with config ''. Message{kind=ERROR, text=error: duplicate value for resource 'attr/progress' with config ''., sources=[.../.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/eaf7f65f820701d9cd96b74c5b200f28/res/values/values.xml:251:5-69], original message=, tool name=Optional.of(AAPT)}
I guess I know where the issue comes from, I'll try to reproduce it and fix ASAP
What was the fix, @alxrm I have a similar error in one of my libraries and could benefit from the fix? I can't see the fixing commit.
@RowlandOti sorry, I've never pushed one, but it's simple, just don't ever name your attributes the same as the attributes of the default android widgets
The builder just sees duplicate attribute "progress" and throws this error, for example if you use progressbar elsewhere in your project
But that's just my hypothesis, I've never managed to actually test it, yet I'm pretty certain it's the real reason
Gotta push the commit with the fix btw, thanks for reminding
It is true, had a fix for that, and it worked. Seeing quite alot of similar bugs with many other different libraries, especially with the migration to AndroidX
namespace. Thanks for the information.
Cheers!
I'm still getting same error. How to fix this ?
What is the fix?
Fix is mentioned in one of the comments - just read it.
I'm getting this error when building.
Error:(251, 5) error: duplicate value for resource 'attr/progress' with config ''.
Don't know what to do!