Error : Attribute “font” already defined with incompatible format

后端 未结 1 1574
不知归路
不知归路 2020-12-06 08:09

I has problem when build app via Gradle as below. And I got the error: Error:(516) Attribute \"font\" already defined with incompatible format. Error:(298) Original attribut

相关标签:
1条回答
  • 2020-12-06 08:34

    In my case the problem was in a library that defined attribute "app:font". I removed that library and all the places in xml where were written "app:font" and my problem disappeared.

    As an additional example: If you have got the error AAPT: Attribute "iconTint" already defined with incompatible format then you should search and delete "app:iconTint" in your xml to resolve this problem.

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