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 的版本太低了,就把这两个的版本改成最新的,果然就没有问题了,希望此文章可以帮到遇到同样问题的你。
然后就是上网各种搜,看大多数都是说 compileSdkVersion 和buildToolsVersion 的版本不对应,所以才会出现这种问题,但是按照这种提示修改之后,问题依旧还在,然后就想会不会是 compileSdkVersion 和buildToolsVersion 的版本太低了,就把这两个的版本改成最新的,果然就没有问题了,希望此文章可以帮到遇到同样问题的你。
相关文章推荐
- Android中出现Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:font 解决办法
- Error:In declare-styleable FontFamilyFont, unable to find attribute android:font
- Error:In declare-styleable FontFamilyFont, unable to find attribute android:font
- ionic3出现declare-styleable FontFamilyFont, unable to find attribute android:
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing异常解决
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- Android出现In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing错误信息
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing异常解决
- 开发工具: ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- BUG:eclipse中添加V7包ERROR: In <declare-styleable> MenuView, unable to find attribute android:pre
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing
- 错误:espliseappcompat_v7] ERROR: In <declare-styleable> MenuView, unable to find attribute android:pre
- 误ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing