当前位置:网站首页>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
边栏推荐
猜你喜欢

Apache SeaTunnel 2.1.0部署及踩坑

Thanos compact component test summary (processing historical data)

搭建基于OSS的图片分享网站-反馈有礼

Prometheus cortex Architecture Overview (horizontally scalable, highly available, multi tenant, long-term storage)

Dolphinscheduler集成Flink任务踩坑记录

Prometheus的relabel_configs和metric_relabel_configs解释及用法示例

Implementation of multi tenant read and write in Prometheus cortex

BPF program of type XDP

双指针仪表盘读数(一)

Build an OSS based image sharing website - polite feedback
随机推荐
JS format current time and date calculation
Introduction to RDMA
TC ebpf practice
Typical application scenarios of alicloud log service SLS
Abnormal record-22
Abnormal record-21
10g数据库使用大内存主机时不能启动的问题
将数组中指定的对象排在数组的前边
Try catch cannot catch asynchronous errors
关于我
Abnormal record-12
How does thanos configure different data retention durations for different tenants
Dolphinscheduler源码包src.tar.gz解压问题
Abnormal record-13
oracle undo使用率高问题处理
异常记录-17
oracle表的约束详解
微服务架构核心概念
mysql和pgsql时间相关操作
Abnormal record-17