Code Analysis Error (Unexpected namespace prefix) after upgrading Android Support Library 23.2.0
<p>I upgraded to Android Support Library 23.2.0 and added </p>

<pre><code>vectorDrawables.useSupportLibrary = true
</code></pre>

<p>to my build.gradle, so that I have vector drawable support for apis lower than 21. (See <a href="http://android-developers.blogspot.co.at/2016/02/android-support-library-232.html">here</a> for details).</p>

<p>I also replaced </p>

<pre><code>android:src="@drawable/ic_create_black_24dp"
</code></pre>

<p>with </p>

<pre><code>app:srcCompat="@drawable/ic_create_black_24dp"
</code></pre>

<p>in every Imageview that uses vector drawables.</p>

<p>The app compiles and works perfectly fine, but code analysis reports: </p>

<blockquote>
  <p>Error:(56, 9) Unexpected namespace prefix "app" found for tag <code>ImageView</code></p>
</blockquote>

<p>Why is this the case? Why is it compiling although I am getting errors?</p>

<p>EDIT: I have added </p>

<pre><code>xmlns:app="http://schemas.android.com/apk/res-auto"
</code></pre>

<p>in my root layout.</p>