title: Error inflating class android.support.v7.widget.CardView?
body: <p>I am trying to add card view in my XML but I keep getting this exception</p>
  
  <pre><code>android.view.InflateException: Binary XML file line #9: Error inflating class android.support.v7.widget.CardView
  </code></pre>
  
  <p>I am using the google code</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  xmlns:card_view="http://schemas.android.com/apk/res-auto"
  ... &gt;
  &lt;!-- A CardView that contains a TextView --&gt;
  &lt;android.support.v7.widget.CardView
      xmlns:card_view="http://schemas.android.com/apk/res-auto"
      android:id="@+id/card_view"
      android:layout_gravity="center"
      android:layout_width="200dp"
      android:layout_height="200dp"
      card_view:cardCornerRadius="4dp"&gt;
  
      &lt;TextView
          android:id="@+id/info_text"
          android:layout_width="match_parent"
          android:layout_height="match_parent" /&gt;
  &lt;/android.support.v7.widget.CardView&gt;
  </code></pre>
  
  <p></p>
  
  <p><a href="https://developer.android.com/training/material/lists-cards.html#CardView" rel="nofollow">Create Cards</a></p>
  
  <p>I have even added the card view jar. I am using eclipse for dev.</p>
  
  <p>What is the issue?</p>