android studio报错XML

小白起步阶段,百思不得其解,望各位大佬帮忙看一下

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"

android:layout_width="match_parent"
android:layout_height="wrap_parent"
android:text="第一个TextView"/>

android:layout_width="match_parent"
android:layout_height="wrap_parent"
android:layout_text="第二个TextView"
/>

少了TextView标签

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"

android:layout_width="match_parent"
android:layout_height="wrap_parent"
android:text="第一个TextView" />

android:layout_width="match_parent"
android:layout_height="wrap_parent"
android:layout_text="第二个TextView"
/>

android:layout_text="第二个TextView"这句是不是错了,应该是android:ltext="第二个TextView"

android:layout_text="第二个TextView"这句是不是错了,应该是android:text="第二个TextView",上一个答案多打了个l

代码好好的提交后标签就消失了。。。图片说明

<?xml version="1.0" encoding="utf-8"?>
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="第一个TextView"/>
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="第二个TextView"
/>

这样写