报错 No resource identifier found for attribute '****' in package '***.***'解决办法
来源:互联网 发布:生猪体重简易计算法 编辑:程序博客网 时间:2024/04/27 16:47
这个错误是在布局文件中,提示控件没有这个属性,前面会有提示在哪一个文件哪一行,如下如所示:
从上图可以看出报错是因为这个控件中没有 “emptyErrorString” “testType”这几个属性(当时我用了第三方library的控件,而更换工作空间后library没有导入)。
解决方案:
1:如果使用第三方或者自定义控件,查看有没有导入控件所在的包。
2:如果是原生控件,说明控件里面没这个属性,请使用其他属性作出所需的效果。
0 0
- 报错 No resource identifier found for attribute '****' in package '***.***'解决办法
- 使用自定义属性报错 No resource identifier found for attribute 'widthFactor' in package
- 报错Error:(11) No resource identifier found for attribute 'roundIcon' in package
- android自定义报错: error: No resource identifier found for attribute 'XX' in package 'XX’
- no resource identifier found for attribute 'lable' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package 'android'
- error: No resource identifier found for attribute ‘backIcon’ in package
- No resource identifier found for attribute 'paddingEnd' in Package 'android'
- error: No resource identifier found for attribute ‘XXXXXX’ in package
- No resource identifier found for attribute 'parentActivityName' in package 'android'
- No resource identifier found for attribute X in package X
- No resource identifier found for attribute 'pstsIndicatorColor' in package
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute ‘footerColor’ in package
- No resource identifier found for attribute 'showAsAction' in package 'android'
- No resource identifier found for attribute 'showAsAction' in package
- No resource identifier found for attribute 'showAsAction' in package 'XXX'
- Android 代码性能优化小技巧
- 期末实验单下载
- 升级到OpenCms 9.5.1后原来的xmlpage类型文档不能操作解决
- 获取硬件资源
- 社説 20150618 党首討論 岡田氏は米艦防護を拒むのか
- 报错 No resource identifier found for attribute '****' in package '***.***'解决办法
- c++ builder 拖控件到GroupBox和PageControl上面,控件不见了。
- 角色编程与设计模式
- 社説 20150618 18歳選挙権 若者の政治参加を促進したい
- 在Ubuntu Scope的模版中利用attributes来显示额外的信息
- SVN老是清理失败,显示清理乱码
- linux ddns client ddclient
- easyUI datagrid 查询方法
- Centos 7 LNMP 增加uploadprogress