title: <animated-vector> requires API level 21 (current min is 15)
body: <p>It is mentioned [here][1] that the new support library now supports animated vectors, which was previously only supported in API 21+. I upgraded my support library to the latest version. </p>
  
  <p>But Android Studio still gives me a warning: animated-vector requires API level 21 (current min is 15).</p>
  
  <p>I did the followings:</p>
  
  <p>I added the following codes to build.gradle:</p>
  
  <pre><code>defaultConfig {
      generatedDensities = []
  
  }
  // This is handled for you by the 2.0+ Gradle Plugin
  aaptOptions {
      additionalParameters "--no-version-vectors"
  }
  </code></pre>
  
  <p>So now my build.gradle file looks like this:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
  buildToolsVersion "23.0.2"
  
  defaultConfig {
      applicationId "com.example.mahdi.askhow"
      minSdkVersion 15
      targetSdkVersion 23
      versionCode 1
      versionName "1.0"
      generatedDensities = []
  
  }
  // This is handled for you by the 2.0+ Gradle Plugin
  aaptOptions {
      additionalParameters "--no-version-vectors"
  }
  buildTypes {
      release {
          minifyEnabled false
          proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
      }
  }
  }
  
  repositories {
      mavenCentral()
      maven { url "https://jitpack.io" }
  }
  dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      testCompile 'junit:junit:4.12'
      compile 'com.android.support:appcompat-v7:23.2.0'
      compile 'com.android.support:design:23.2.0'
      compile 'com.mcxiaoke.volley:library:1.0.19'
      compile 'com.wang.avi:library:1.0.2'
      compile 'com.nineoldandroids:library:2.4.0'
      compile project(':phoenix')
      compile 'com.github.dmytrodanylyk.circular-progress-button:library:1.1.3'
  
  }
  </code></pre>
  
  <p>My animated drawable:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
      android:drawable="@drawable/vector_upvote"&gt;
  
      &lt;target
          android:name="rotationGroup"
          android:animation="@anim/rotate_a_to_b" /&gt;
  
  
      &lt;target
          android:name="left_arrow"
          android:animation="@animator/animator_checkmark" /&gt;
  &lt;/animated-vector&gt;
  </code></pre>
  
  <p>On the first line of the animated drawable, it says: animated-vector requires API level 21 (current min is 15).</p>
  
  <p>So what is wrong? </p>
  
  <pre><code>  [1]: http://android-developers.blogspot.com/2016/02/android-support-library-232.html
  </code></pre>