title: No resource found that matches the given name: attr 'accentColor'
body: <p>I have seen a number of SO questions about this error, but all of them had a common problem, which is that they were trying to use v21 attributes on older versions or they had a lower <code>targetSDKVersion</code>, but that is not the case in my app.</p>
  
  <p><strong><em>Note:</strong> I deleted the already present folders <code>values-v11</code> and <code>values-v14</code> from the project, if that matters.</em></p>
  
  <p>The <strong>compiler error</strong> is as follows:</p>
  
  <pre><code>[2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values\styles.xml:19: error: Error: No resource found that matches the given name: attr 'accentColor'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values\styles.xml:17: error: Error: No resource found that matches the given name: attr 'primaryColor'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values\styles.xml:18: error: Error: No resource found that matches the given name: attr 'primaryColorDark'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values-v21\styles.xml:7: error: Error: No resource found that matches the given name: attr 'android:accentColor'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values-v21\styles.xml:5: error: Error: No resource found that matches the given name: attr 'android:primaryColor'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] D:\CodingMyHeart\WORKSPACES\EclipseWorkspaces\Workspace of Android Practice One\MaterialDesignGoogleNowLikeSearchBoxThree\res\values-v21\styles.xml:6: error: Error: No resource found that matches the given name: attr 'android:primaryColorDark'.
  [2015-08-08 14:30:23 - MaterialDesignGoogleNowLikeSearchBoxThree] 
  </code></pre>
  
  <p>I have <code>appcompat_v7</code> already included in the project, and there is another library named <code>android-support-v7-appcompat</code> available:</p>
  
  <p><a href="https://i.stack.imgur.com/8x9oj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8x9oj.png" alt="enter image description here"></a></p>
  
  <p><strong><em>SSCCE:</em></strong></p>
  
  <p><strong>res/values/colors.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;color name="primaryColor"&gt;#64FFDA&lt;/color&gt;&lt;!-- Light ferozi --&gt;
      &lt;color name="primaryColorDark"&gt;#1DE9B6&lt;/color&gt;&lt;!-- Darker ferozi --&gt;
      &lt;color name="accentColor"&gt;#E94F37&lt;/color&gt;&lt;!-- Close to red --&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p><strong>res/values/styles.xml</strong></p>
  
  <pre><code>&lt;resources&gt;
  
      &lt;!--
          Base application theme, dependent on API level. This theme is replaced
          by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
      --&gt;
      &lt;style name="AppBaseTheme" parent="Theme.AppCompat.Light"&gt;
          &lt;!--
              Theme customizations available in newer API levels can go in
              res/values-vXX/styles.xml, while customizations related to
              backward-compatibility can go here.
          --&gt;
      &lt;/style&gt;
  
      &lt;!-- Application theme. --&gt;
      &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
          &lt;item name="primaryColor"&gt;@color/primaryColor&lt;/item&gt;
          &lt;item name="primaryColorDark"&gt;@color/primaryColorDark&lt;/item&gt;
          &lt;item name="accentColor"&gt;@color/accentColor&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>
  
  <p><strong>res/values-v21/styles.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;!-- Application theme. --&gt;
      &lt;style name="AppTheme" parent="AppBaseTheme"&gt;
          &lt;item name="android:primaryColor"&gt;@color/primaryColor&lt;/item&gt;
          &lt;item name="android:primaryColorDark"&gt;@color/primaryColorDark&lt;/item&gt;
          &lt;item name="android:accentColor"&gt;@color/accentColor&lt;/item&gt;
      &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p><strong>Manifest</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.materialdesigngooglenowlikesearchboxthree"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="22" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name=".MainActivity"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>activity_main.xml</strong></p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context="com.example.materialdesigngooglenowlikesearchboxthree.MainActivity" &gt;
  
      &lt;TextView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:text="@string/hello_world" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>MainActivity.java</strong></p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_main);
      }
  
      @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          // Inflate the menu; this adds items to the action bar if it is present.
          getMenuInflater().inflate(R.menu.main, menu);
          return true;
      }
  
      @Override
      public boolean onOptionsItemSelected(MenuItem item) {
          // Handle action bar item clicks here. The action bar will
          // automatically handle clicks on the Home/Up button, so long
          // as you specify a parent activity in AndroidManifest.xml.
          int id = item.getItemId();
          if (id == R.id.action_settings) {
              return true;
          }
          return super.onOptionsItemSelected(item);
      }
  }
  </code></pre>