error: Error: No resource found for attribute ‘layout_scrollFlags’ in package‘包名’
来源:互联网 发布:如何提高物理成绩知乎 编辑:程序博客网 时间:2024/06/07 22:01
遇到error: Error: No resource found for attribute ‘layout_scrollFlags’ in package‘包名’
这个问题时候刚开始自己也是感觉到奇怪,错误也即是下图
处理方法:就是把xmlns:app="http://schemas.android.com/apk/res-auto"
把res-auto换成自己的包名,不让它自己适应了,换成具体的。
换了之后报错就消失了
看下图
自己的报名就创建项目的时候的包名字,记不住的可以到AndroidManifest中
查看
0 0
- error: Error: No resource found for attribute ‘layout_scrollFlags’ in package‘包名’
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute ‘XXXXXX’ in package
- error: No resource identifier found for attribute ‘backIcon’ in package
- error: No resource identifier found for attribute ‘footerColor’ in package
- error: No resource identifier found for attribute 'dropDownHorizontalOffset' in package 'android'
- error: No resource identifier found for attribute 'onclick' in package 'android'
- android自定义View时报 error: No resource identifier found for attribute ‘XXX’ in package 'XXX'
- 关于android自定义View时报error: No resource identifier found for attribute ‘XXX’ in package ‘
- error: No resource identifier found for attribute 'layout_with' in package 'android'
- 关于android自定义View时报error: No resource identifier found for attribute ‘XXX’ in package ‘
- error: No resource identifier found for attribute 'backgroud' in package 'android'
- error: No resource identifier found for attribute 'style' in package 'android'
- state_hovered error: No resource identifier found for attribute 'state_hovered' in package 'android
- error: No resource identifier found for attribute 'widgetCategory' in package 'android'
- 关于android自定义View时报error: No resource identifier found for attribute ‘XXX’ in package ‘(
- error: No resource identifier found for attribute 'format24Hour' in package 'android'
- error: No resource identifier found for attribute 'showAsAction' in package 'com.example.singlecheck
- linux下用live555进行二次开发指南
- iOS限制文本框输入两位小数和最大值
- UESTC 1012 Ladygod (多校联盟3)
- 项目9--求最大公约数
- 查看centos目录文件大小
- error: Error: No resource found for attribute ‘layout_scrollFlags’ in package‘包名’
- Python笔记3
- 泰坦尼克号
- J2EE --- forward VS redirect
- Criteria 的用法 (转)
- 图像的稀疏表示——ScSPM和LLC的总结
- hdu 5646 DZY Loves Partition(整数拆分)
- J2EE --- JDBC获取数据库元数据信息
- Opencv2简洁代码提取连通区域