Java org.xmlpull.v1.XmlPullParserException导致的错误

Java org.xmlpull.v1.XmlPullParserException导致的错误,java,android,xml,textview,Java,Android,Xml,Textview,由org.xmlpull.v1.XmlPullParserException(Android 4.4.4和4.4.2)引起 二进制XML文件行#1:无效的可绘制标记向量 mobile.push.PushAdapter.onCreateViewHolder(PushAdapter.java:68) 这是我的名片夹 private class UserViewHolder extends RecyclerView.ViewHolder { TextView title; Te

由org.xmlpull.v1.XmlPullParserException(Android 4.4.4和4.4.2)引起 二进制XML文件行#1:无效的可绘制标记向量 mobile.push.PushAdapter.onCreateViewHolder(PushAdapter.java:68)

这是我的名片夹

    private class UserViewHolder extends RecyclerView.ViewHolder {
    TextView title;
    TextView time;
    TextView short_text;
    TextView body;
    View view1;
    ExpandableLayout expand;

    public UserViewHolder(View view) {
        super(view);
        view1 = view.findViewById(R.id.container);
        title = view.findViewById(R.id.title);
        time = view.findViewById(R.id.time);
        short_text = view.findViewById(R.id.short_text);
        body = view.findViewById(R.id.body);
        expand = view.findViewById(R.id.expand);
    }
}
行:68->

//onCreateViewHolder
        View view = LayoutInflater.from(activity).inflate(R.layout.item_push, parent, false);
        return new UserViewHolder(view);
XML项目\u push.XML

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content">
        <TextView
            android:id="@+id/title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

        <TextView
            android:id="@+id/short_text"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>

        <TextView
            android:id="@+id/time"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="2018-02-01 04:54" />

        <net.cachapa.expandablelayout.ExpandableLayout
            android:id="@+id/expand"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            app:el_duration="1000"
            app:el_expanded="false"
            app:el_parallax="0.5">

            <TextView
                android:id="@+id/body"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"/>
        </net.cachapa.expandablelayout.ExpandableLayout>


我该怎么办?无法在Android 4.4.2上测试,请在应用程序模块的build.gradle文件中添加语句:

android {
      defaultConfig {
        vectorDrawables.useSupportLibrary = true
      }
    }

选中

将语句添加到应用程序模块的build.gradle文件中:

android {
      defaultConfig {
        vectorDrawables.useSupportLibrary = true
      }
    }

选中“已使用无帮助已使用无帮助”