zoukankan      html  css  js  c++  java
  • Android报错:Error: Can't determine type for tag 错误:无法确定标记的类型

    报错信息:

    D:ExerciseAndroid_textAndriod_Practiceappsrcmain eslayout_findfind_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" style="@style/find_main_style">

    <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" style="@style/find_main_style">

    <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" style="@style/find_main_style">

    <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" style="@style/find_main_style">

    <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文件夹下】

  • 相关阅读:
    cgroup中对cpu资源控制的方式
    kube-proxy 原理
    k8s集群优化
    k8s集群从一千节点增加到五千台节点遇到的瓶颈
    k8s的service和ep是如何关联和相互影响的
    一个经典pod完整生命周期
    k8s中的pod内几个容器之间的关系是什么
    kubernetes包含几个组件。各个组件的功能是什么。组件之间是如何交互的。
    k8s的pause容器有什么用?是否可以去掉?
    强制删除pod,namespace等
  • 原文地址:https://www.cnblogs.com/hahayixiao/p/11355394.html
Copyright © 2011-2022 走看看