当前位置:网站首页>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
边栏推荐
- mysql和pgsql时间相关操作
- 解决:You have 18 unapplied migration(s). Your project may not work properly until you apply
- 冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
- Ali vector library Icon tutorial (online, download)
- "Write multi tenant" implementation of Prometheus and thanos receiver
- Redis FAQ
- 基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)
- oracle表空间表分区详解及oracle表分区查询使用方法
- Prometheus Cortex架构概述(水平可扩展、高可用、多租户、长期存储)
- 异常记录-10
猜你喜欢
Introduction to RDMA
专用窗口函数rank, dense_rank, row_number
【机器学习】笔记 4、KNN+交叉验证
冬季实战营 动手实战-MySQL数据库快速部署实践 领鼠标 云小宝
Using Prom label proxy to implement label based multi tenant reading of Prometheus thanos
Prometheus Cortex使用Block存储时的相关问题
基于ECS搭建云上博客(云小宝码上送祝福,免费抽iphone13任务详解)
Thanos Compactor组件使用
基於ECS搭建雲上博客(雲小寶碼上送祝福,免費抽iphone13任務詳解)
Build an OSS based image sharing website - polite feedback
随机推荐
oracle用delete删除数据所需时间测试
Dolphinscheduler配置Datax踩坑记录
Oracle索引状态查询与索引重建
Abnormal record-20
Practice using polardb and ECs to build portal websites
Abnormal record-16
SQL中 with函数的详解与用法
oracle对表字段的修改
Prometheus和Thanos Receiver的“写多租户”实现
Chaos takes you to the chaos project quickly
Exception record-5
Abnormal record-19
pg库查看某模式下某表的分布键
Abnormal record-12
Prometheus Thanos快速指南
error 403 In most cases, you or one of your dependencies are requesting解决
19C RAC修改VIP及SCANIP步骤-同网段
将数组中指定的对象排在数组的前边
Ali vector library Icon tutorial (online, download)
oracle通过触发器和序列来定义自增主键,并且设置定时任务每秒钟插入一条数据到目标表