Resources referenced from the manifest cannot vary by configuration?
<p>In my Manifest.xml, I get the following error:</p>

<pre><code>Resources referenced from the manifest cannot vary by configuration (except for version qualifiers, e.g. -v21.) Found variation in hdpi, hdpi-v11, mdpi, mdpi-v11, xhdpi, xhdpi-v11, xxhdpi, xxhdpi-v11, xxxhdpi, xxxhdpi-v11
</code></pre>

<p>It seems to be complaining about two resources:</p>

<pre><code>&lt;meta-data
            android:name="com.parse.push.notification_icon"
            android:resource="@drawable/ic_stat_ic_no_notifications" /&gt;
</code></pre>

<p>and </p>

<pre><code>&lt;meta-data
            android:name="com.yitter.android.notification_icon"
            android:resource="@drawable/ic_launcher" /&gt;
</code></pre>

<p>Should I put these two images in my no-dpi folder? It seems like it's complaining about the fact that there are variations in each resource group. What should I do?</p>

<p>I feel like <code>tools:ignore="ManifestResource"</code> (see here: <a href="https://stackoverflow.com/questions/38423503/resources-referenced-from-the-manifest-cannot-vary-by-configuration">Resources referenced from the manifest cannot vary by configuration</a>) doesn't actually solve the problem, if there is one, and just band-aids it.</p>

<p><strong>Update:</strong></p>

<p>And in fact causes a build error...</p>

<pre><code>Error:Execution failed for task ':app:processDebugManifest'.
&gt; D:\android\app\src\main\AndroidManifest.xml:77:9-84:20: Error: Invalid instruction 'targetApi', valid instructions are : REMOVE,REPLACE,STRICT
</code></pre>