您的位置:首页 > 移动开发 > Android开发

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

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



然后就是上网各种搜,看大多数都是说 compileSdkVersion 和buildToolsVersion 的版本不对应,所以才会出现这种问题,但是按照这种提示修改之后,问题依旧还在,然后就想会不会是 compileSdkVersion 和buildToolsVersion 的版本太低了,就把这两个的版本改成最新的,果然就没有问题了,希望此文章可以帮到遇到同样问题的你。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐