当前位置:网站首页>org.xml.sax.SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type.2.4.a: 发现了以元素 ‘b
org.xml.sax.SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type.2.4.a: 发现了以元素 ‘b
2022-04-23 06:06:00 【郭宝】
背景:
org.xml.sax.SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type.2.4.a: 发现了以元素 'base-extension' 开头的无效内容。应以 '{layoutlib}' 之一开头。
解决方案:
出现该问题,一般都是布局中的问题,如下错误代码:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">
<Button
android:id="@+id/btn_test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="测试"
></Button>
</Lin
版权声明
本文为[郭宝]所创,转载请带上原文链接,感谢
https://guobao.blog.csdn.net/article/details/123982425
边栏推荐
- qs.stringify 接口里把入参转为&连接的字符串(配合application/x-www-form-urlencoded请求头)
- Static interface method calls are not supported at language level ‘5‘ 异常解决
- RAC环境中openssh版本对SSH互信创建的影响
- oracle杀死正在执行的sql
- RAC环境数据库节点参数设置不当导致监听无法连接问题排查
- Problems related to Prometheus cortex using block storage
- oracle表空间表分区详解及oracle表分区查询使用方法
- Prometheus的relabel_configs和metric_relabel_configs解释及用法示例
- Prometheus thanos Quick Guide
- Prometheus Cortex使用Block存储时的相关问题
猜你喜欢
Analysis of Rdam principle
OVS and OVS + dpdk architecture analysis
Dolphinscheduler配置Datax踩坑记录
基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)
基於ECS搭建雲上博客(雲小寶碼上送祝福,免費抽iphone13任務詳解)
try catch 不能捕获异步错误
冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
窗口分析函数LAST_VALUE,FIRST_VALUE,lag,lead
Ali vector library Icon tutorial (online, download)
Chaos vous emmène au projet chaos.
随机推荐
Introduction to common APIs for EBFP programming
oracle创建表空间和修改用户默认表空间
oracle表的约束详解
Winter combat camp hands-on combat - first understand the cloud foundation, hands-on practice ECS ECS ECS novice on the road to get the mouse cloud Xiaobao backpack shadowless
基于EMR离线数据分析-反馈有礼
阿里矢量库的图标使用教程(在线,下载)
Research on alertmanager repeated / missing alarm phenomenon and two key parameters_ Wait and group_ Interpretation of interval
【机器学习】笔记 4、KNN+交叉验证
Static interface method calls are not supported at language level ‘5‘ 异常解决
oracle计算两日期相差多少秒,分钟,小时,天
PG SQL截取字符串到指定字符位置
Prometheus和Thanos Receiver的“写多租户”实现
19C RAC修改VIP及SCANIP步骤-同网段
JS format current time and date calculation
异常记录-17
数据库的事务
搭建基于OSS的图片分享网站-反馈有礼
Relabel of Prometheus_ Configs and metric_ relabel_ Configs explanation and usage examples
Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos
Implementation of multi tenant read and write in Prometheus cortex