Duplicate instance of GradientColor_fontVariationSettings in R.java android studio

前端 未结 2 1997
南笙
南笙 2021-01-23 09:26

I\'ve been coding around in android studio for a decent bit now. Recently an issue popped up where the project would be unable to compile and I traced down the error to a duplic

相关标签:
2条回答
  • 2021-01-23 09:39

    GradientColor_fontVariationSettings means fontVariationSettings attribute of GradientColor class. So, check res/attr, shapes in res/drawable folder which uses gradient and other gradient related resources. If nothing seems suspicious, check imported libraries.

    If you want to find "GradientColor" or "fontVariationSettings" occurence in a / entire project, Android Studio has a menu "Find in path".

    Refs.

    Drawable resources - Shape drawable

    GradientDrawable

    Search all the occurrences of a string in the entire project in Android Studio

    Updated:

    Edit > Find > Find Usage may help to search usages.

    0 讨论(0)
  • 2021-01-23 09:39

    I am not sure, but you may find it under res folder

    0 讨论(0)
提交回复
热议问题