Android中出现Error:In (declare-styleable) FontFamilyFont, unable to find attribute android:font 解决办法,今天由于项目要用到 support-v4 包,所以就导入v4 包到项目中,可是导入之后就出现 Error:In FontFamilyFont, unable to find attribute android:font 这个错误,如下图:

Android中出现Error:In (declare-styleable) FontFamilyFont, unable to find attribute android:font

然后就是上网各种搜,看大多数都是说 compileSdkVersion 和buildToolsVersion 的版本不对应,所以才会出现这种问题,但是按照这种提示修改之后,问题依旧还在,然后就想会不会是 compileSdkVersion 和buildToolsVersion 的版本太低了,就把这两个的版本改成最新的,果然就没有问题了,希望此文章可以帮到遇到同样问题的你。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-03
猜你喜欢
  • 2021-12-03
  • 2022-01-22
  • 2022-01-24
  • 2021-12-23
  • 2021-11-05
  • 2022-12-23
  • 2021-07-20
相关资源
相似解决方案