Duplicate value fo resource 'attr/tint'

后端 未结 5 2120
滥情空心
滥情空心 2021-02-20 03:05

I do not know how this error started to happen, I simply closed the android studio yesterday and I turned off the pc, today, I turned on the pc and opened the android studio, th

5条回答
  •  [愿得一人]
    2021-02-20 03:57

    I don't think this is a gradle version issue... I am using Android Studio 3.0 with Gradle Plugin Version 3.0.1 (which uses Gradle 4.1) THE LATEST. And 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

    ImageLetterIcon/imageletter/src/main/res/values/attrs.xml

     
    

提交回复
热议问题