[AS尝龟]Unable to inflate view tag without class attribute
来源:互联网 发布:剑灵狂三捏脸数据 编辑:程序博客网 时间:2024/05/16 19:26
今天在学习使用constraintLayout的时候,试着用constraintLayout去实现微信游戏的一个item。在编写完xml文件后,转到design界面看看效果和蓝图的时候,出现了这个错误:
Render errors:Unable to inflate view tag without class attribute
一开始没放在心上,直接进行运行,开始报错:
system_process W/WindowManager: Failed looking up window
java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@81dad77 does not exist……
回头看布局文件的报错,定位到view标签,然后发现:
<view android:id="@+id/line" android:layout_width="3dp" android:layout_height="30dp" app:layout_constraintLeft_toRightOf="@id/thirdtyEightDpGuideLine" app:layout_constraintTop_toBottomOf="@id/pic" android:layout_marginTop="12dp"/>这段代码中的view标签用了小写。。。。
把标签更正为大写的View即可。
一手误成千古恨啊
************************
阅读全文
0 0
- [AS尝龟]Unable to inflate view tag without class attribute
- android Unable to inflate view tag without class attribute
- Unable to inflate view tag without class attribute
- Unable to inflate view tag without class attribute
- Unable to inflate view tag without class attribute
- Exception:Unable to inflate view tag without class attribute(控件标签有问题)
- Android XML布局文件报错Unable to inflate view tag without class attribute
- Unable to load tag handler class
- WebSphere6.1上出现错误JSPG0123E: Unable to locate tag attribute info for tag attribute converterMessage or label
- AS中的又一个错误Unable to find explicit activity class
- JasperException: /MyELTag.jsp(28,2) Unable to load tag handler class "com.icss.tag.MyTag" for tag ..
- Attribute class invalid for tag text according to TLD这个struts错误怎么解决啊
- Struts的莫名问题解决方法:Attribute class invalid for tag present according to TLD
- Checkstyle "Unable to get class information for @throws tag 'xxxException" 问题
- Got an exception - java.lang.RuntimeException: Unable to get class information for @throws tag 'XXXException'.
- jsp自定义标签的问题Unable to load tag handler class
- How to view the schema class or attribute definition you first have to install the Active Directory Schema snap-in
- Unable to open class file
- RNTI
- poj1011:Sticks
- VPC使用SNAT实现内网机器可以使用互联网
- 你好:MineData
- [笔记分享] [Language] C语言进阶小结
- [AS尝龟]Unable to inflate view tag without class attribute
- leveldb-编码
- C++各种变量内存分配
- WOJ1022-Competition of Programming
- java编程思想之控制执行流程
- java RSA和AES加密解密工具
- Android原生webView加载h5页面出现加载错乱不完全问题
- JSON和JSONP
- 游戏编程之DirectX的修炼:二(创建属于自己的windows窗口程序:上)