小编Ker*_*ugh的帖子

在 Android Studio 上收到“无法确定标记类型”

遇到这个错误的麻烦。这个错误刚刚开始发生,我不知道是什么原因造成的。我已经很长时间没有访问这个项目了,但我记得它之前运行得很完善。

没有其他标签,删除最终的relativelayout标签后错误仍然存​​在。

Error: Can't determine type for tag '<RelativeLayout android:background="@color/backgroundcolorthree" android:id="@+id/RelativeLayout" android:layout_height="match_parent" android:layout_width="match_parent" android:orientation="horizontal" tools:context=".ninegradesecondact" 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">


        <FrameLayout android:layout_below="@id/nextsatacttextview" android:layout_centerHorizontal="true" android:layout_height="wrap_content" android:layout_width="wrap_content">

            <RelativeLayout android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="30dp" android:layout_width="wrap_content">

                <Button android:background="@color/common_google_signin_btn_text_dark_default" android:id="@+id/profilebutton" android:layout_centerHorizontal="true" android:layout_height="100dp" android:layout_marginBottom="10dp" android:layout_marginEnd="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginStart="10dp" android:layout_marginTop="10dp" android:layout_toEndOf="@id/checklistbutton" android:layout_toRightOf="@id/checklistbutton" android:layout_width="100dp"/>

                <Button android:background="@color/common_google_signin_btn_text_dark_default" android:id="@+id/upcomingtestsbutton" android:layout_below="@id/profilebutton" android:layout_height="100dp" android:layout_marginBottom="10dp" android:layout_marginEnd="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginStart="10dp" android:layout_marginTop="10dp" android:layout_width="100dp" android:textSize="13dp"/>

                <Button android:background="@color/common_google_signin_btn_text_dark_default" android:id="@+id/messagesbutton" android:layout_below="@id/profilebutton" android:layout_centerHorizontal="true" android:layout_height="100dp" android:layout_marginBottom="10dp" android:layout_marginEnd="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginStart="10dp" android:layout_marginTop="10dp" android:layout_toEndOf="@id/upcomingtestsbutton" android:layout_toRightOf="@id/upcomingtestsbutton" android:layout_width="100dp"/>

                <Button android:background="@color/common_google_signin_btn_text_dark_default" android:id="@+id/checklistbutton" android:layout_height="100dp" android:layout_marginBottom="10dp" android:layout_marginEnd="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginStart="10dp" …
Run Code Online (Sandbox Code Playgroud)

android android-studio

6
推荐指数
1
解决办法
4万
查看次数

标签 统计

android ×1

android-studio ×1