akashjaindev / ImageLetterIcon

Material letter icon with circle background. Also supports for image for user contact.
Apache License 2.0
213 stars 50 forks source link

Android Studio 3.0, error project build, " duplicate value for resource 'attr/tint' with config'" " #7

Closed duanniston closed 7 years ago

duanniston commented 7 years ago

Android Studio 3.0, error project build, " duplicate value for resource 'attr/tint' with config'" " with this library.

akashjaindev commented 7 years ago

ok we will check and figure out the issue. And update you soon

akashjaindev commented 7 years ago

check you gradle version. i have tried but i am not getting any error. You can check by cleaning the project.

ibcurly commented 7 years ago

Same issue here, cleaned project gradle version 3.0

akashjaindev commented 7 years ago

please update your gradle version and try again. I have updated my studio and and gradle version and i am not facing any problem at all.

ohenepee commented 7 years ago

I don't think this is a gradle version issue... I am using Android Studio 3.0 with Gradle Plugin Version 3.0.0 (which uses Gradle 4.1+) THE LATEST. And like everyone complaining here I am getting this same issue. Just rename whatever attribute you've named tint to something like libTint or lib_tint or even more obscure ili_lib_tint so the issue can be resolved. I really want to use this lib and not look else where, please.

This is the xml element causing the issue https://github.com/akashandroid90/ImageLetterIcon/blob/de07bbefa5f43c18c65f0bb2d2dab12d9cafefe0/imageletter/src/main/res/values/attrs.xml#L20

akashjaindev commented 7 years ago

files updated and pushed on jcenter just change library version to 1.14

Katlego-K commented 6 years ago

Guys, I get this Error "Error:(253, 5) error: duplicate value for resource 'attr/textColorError' with config ''. Please assist.

Katlego-K commented 6 years ago

image Please Assist.

akashjaindev commented 6 years ago

i don't think this is library issue since we haven't use this attribute. Can you please check other libraries you are using.

Katlego-K commented 6 years ago

@akashandroid90 ,Ok cool let me check them and i will get back to you.

Katlego-K commented 6 years ago

@akashandroid90 , I still get the same error message & my libraries do match. See below plz help

image

akashjaindev commented 6 years ago

As you can see in your attached screenshot you havent use imagelettericon lib. And as i am recognising this issue is regarding your appcompat lib version. Make sure you are using same version of it.

parasnath commented 6 years ago

I am also getting same error as error: duplicate value for resource 'attr/track' with config ''. any one have a solution

akashjaindev commented 6 years ago

please check you libs which you have used in app. This issue is not related with our library

xuanguofeng commented 6 years ago

Some attributes of values/attrs should be causing errors