Android报错:Error: Can't determine type for tag 错误:无法确定标记的类型

Android报错:Error: Can't determine type for tag 错误:无法确定标记的类型,第1张

概述报错信息: D:\Exercise\Android_text\Andriod_Practice\app\src\main\res\layout_find\find_dialect.xml: Error: Can‘t determine type for tag ‘<LinearLayout android:layout_height="match_parent" android:layout_wi

报错信息:

D:\Exercise\AndroID_text\Andriod_Practice\app\src\main\res\layout_find\find_dialect.xml: Error: Can‘t determine type for tag ‘<linearLayout androID:layout_height="match_parent" androID:layout_wIDth="match_parent" androID:orIEntation="vertical">

<relativeLayout androID:background="@drawable/find_game" androID:ID="@+ID/find_game" >

<TextVIEw androID:layout_centerHorizontal="true" androID:layout_centerVertical="true" androID:layout_height="wrap_content" androID:layout_wIDth="wrap_content" androID:text="游戏" androID:textcolor="@color/white" androID:textSize="30sp"/>
</relativeLayout>

<relativeLayout androID:background="@drawable/find_study" androID:ID="@+ID/find_study" >

<TextVIEw androID:layout_centerHorizontal="true" androID:layout_centerVertical="true" androID:layout_height="wrap_content" androID:layout_wIDth="wrap_content" androID:text="学习" androID:textcolor="@color/white" androID:textSize="30sp"/>
</relativeLayout>

<relativeLayout androID:background="@drawable/find_moive" androID:ID="@+ID/find_moive" >

<TextVIEw androID:layout_centerHorizontal="true" androID:layout_centerVertical="true" androID:layout_height="wrap_content" androID:layout_wIDth="wrap_content" androID:text="电影、视频" androID:textcolor="@color/white" androID:textSize="30sp"/>
</relativeLayout>

<relativeLayout androID:background="@drawable/find_class" androID:ID="@+ID/find_class" >

<TextVIEw androID:layout_centerHorizontal="true" androID:layout_centerVertical="true" androID:layout_height="wrap_content" androID:layout_wIDth="wrap_content" androID:text="课程" androID:textcolor="@color/white" androID:textSize="30sp"/>
</relativeLayout>
</linearLayout>‘

 

产生原因:合并代码时,莫名奇妙的出现了一个文件夹layout_find,导致布局加载错误

解决方法:删除该文件夹【删除前检查一下里面的文件有没有用,如果有用,则把文件放到layout文件夹下】

总结

以上是内存溢出为你收集整理的Android报错:Error: Can't determine type for tag 错误:无法确定标记类型全部内容,希望文章能够帮你解决Android报错:Error: Can't determine type for tag 错误:无法确定标记的类型所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1121576.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-29
下一篇2022-05-29

发表评论

登录后才能评论

评论列表(0条)

    保存