error: Error parsing XML: not well-formed (invalid token)
来源:互联网 发布:新开的淘宝店 编辑:程序博客网 时间:2024/06/05 05:06
项目\res\drawable\btn_grey.xml:4: error: Error parsing XML: not well-formed (invalid token)
今天运行程序的时候无意中出现这个异常,发现自己也没弄什么就报这个错了,然后按报错位置找到了当前的xml,看了发现自己没改过这里,然后将xml中的
第一个item的
android:drawable="@drawable/button_grey"
android:state_enabled="true" android:state_window_focused="false"用空格隔开,然后build一下就好了。
报错的xml:
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/button_grey" android:state_enabled="true" android:state_window_focused="false"/>
<item android:drawable="@drawable/button_grey_press" android:state_pressed="true"/>
<item android:drawable="@drawable/button_grey" android:state_enabled="true"/>
</selector>
- error: Error parsing XML: not well-formed (invalid token)
- error: Error parsing XML: not well-formed (invalid token)解决办法
- Error:(65) Error parsing XML: not well-formed (invalid token)
- Error:(37) Error parsing XML: not well-formed (invalid token)
- error: Error parsing XML: not well-formed (invalid token)
- Error:(58) Error parsing XML: not well-formed (invalid token)
- Error parsing XML: not well-formed (invalid token)
- Error parsing XML- not well-formed (invalid token)
- 布局错误error: Error parsing XML: not well-formed (invalid token)
- error: Error parsing XML: not well-formed (invalid token) 报错解决
- android开发中error: Error parsing XML: not well-formed (invalid token)
- error: Error parsing XML: not well-formed (invalid token) 的解决办法
- Error parsing XML: not well-formed (invalid token) 报错,找不出原因
- Error parsing XML: not well-formed (invalid token) 报错+R文件消失解决办法
- 关于Error parsing XML: not well-formed (invalid token)的解决方法
- android read xml error: not well-formed (invalid token)
- XML parse error: not well-formed (invalid token)
- XML parse error: not well-formed (invalid token)
- Kotlin下配置DataBinding
- freemarker macro(宏)的使用
- Linux之Centos7.x安装和使用**
- YUV与RGB格式转换
- 构造一个函数能将border-bottom-color用函数转成驼峰命名法。
- error: Error parsing XML: not well-formed (invalid token)
- 发运确认后,订单行保持“已挑库”状态 Order Line Remains in Picked (Awaiting Shipping) Status After Ship Confirmation
- PHP读取文件内容的五种方式
- 分类问题中的样本不均衡算法使用备忘录
- ajax 中 请求 post方式请求url
- C++虚函数
- Leetcode 44. Wildcard Matching
- 关于springmvc处理跨域请求的问题
- 游戏编程入门(8):管理子画面