我看别人的FramentTabhost渲染失败

<?xml version="1.0" encoding="utf-8"?>
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="zhulei.com.tabhostdemo.MainActivity">
android:id="@android:id/tabhost"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>

        <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_marginBottom="@dimen/tab_height">
        </FrameLayout>

</android.support.v4.app.FragmentTabHost>

<FrameLayout
    android:layout_width="match_parent"
    android:layout_height="@dimen/tab_height"
    android:layout_alignParentBottom="true">
    <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/divider_height"
        android:background="@color/tab_bar_border"/>
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal">
        <RelativeLayout
            android:id="@+id/tab_home"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1">
            <ImageView
                android:id="@+id/tab_home_image"
                android:layout_width="wrap_content"
                android:layout_height="32dp"
                android:layout_centerHorizontal="true"
                android:src="@drawable/tabbar_home_highlighted"/>

            <TextView
                android:id="@+id/tab_home_text"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/tab_home_image"
                android:layout_centerHorizontal="true"
                android:gravity="center"
                android:text="@string/tab_main"
                android:textSize="@dimen/font_tab_bar"
                android:textColor="@color/font_tab_bar_selected"/>
        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/tab_message"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1">
            <ImageView
                android:id="@+id/tab_message_image"
                android:layout_width="wrap_content"
                android:layout_height="32dp"
                android:layout_centerHorizontal="true"
                android:src="@drawable/tabbar_message_center"/>

            <TextView
                android:id="@+id/tab_message_text"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/tab_message_image"
                android:layout_centerHorizontal="true"
                android:gravity="center"
                android:textSize="@dimen/font_tab_bar"
                android:text="@string/tab_search"
                android:textColor="@color/font_tab_bar_unselected"/>
        </RelativeLayout>

        <ImageView
            android:id="@+id/compose_btn"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:layout_marginTop="3dp"
            android:layout_marginBottom="3dp"
            android:layout_marginLeft="20dp"
            android:layout_marginRight="20dp"
            android:scaleType="centerInside"
            android:src="@drawable/bg_tab_add"/>

        <RelativeLayout
            android:id="@+id/tab_search"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1">
            <ImageView
                android:id="@+id/tab_search_image"
                android:layout_width="wrap_content"
                android:layout_height="32dp"
                android:layout_centerHorizontal="true"
                android:src="@drawable/tabbar_search"/>

            <TextView
                android:id="@+id/tab_search_text"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/tab_search_image"
                android:layout_centerHorizontal="true"
                android:gravity="center"
                android:textSize="@dimen/font_tab_bar"
                android:text="@string/tab_search"
                android:textColor="@color/font_tab_bar_unselected"/>
        </RelativeLayout>

        <RelativeLayout
            android:id="@+id/tab_profile"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_weight="1">
            <ImageView
                android:id="@+id/tab_profile_image"
                android:layout_width="wrap_content"
                android:layout_height="32dp"
                android:layout_centerHorizontal="true"
                android:src="@drawable/tabbar_profile"/>

            <TextView
                android:id="@+id/tab_profile_text"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_below="@id/tab_profile_image"
                android:layout_centerHorizontal="true"
                android:gravity="center"
                android:textSize="@dimen/font_tab_bar"
                android:text="@string/tab_profile"
                android:textColor="@color/font_tab_bar_unselected"/>
        </RelativeLayout>
    </LinearLayout>
</FrameLayout>

http://www.4byte.cn/question/206752/fragment-tab-host-error-exception-raised-during-rendering-no-tab-known-for-tag-null.html