Java 从清单引用的资源不能因配置而异?

Java 从清单引用的资源不能因配置而异?,java,android,manifest,Java,Android,Manifest,在我的Manifest.xml中,出现以下错误: 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 它似

在我的Manifest.xml中,出现以下错误:

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
它似乎在抱怨两种资源:

<meta-data
            android:name="com.parse.push.notification_icon"
            android:resource="@drawable/ic_stat_ic_no_notifications" />
您可以在元数据标记中使用工具:ignore=“ManifestResource”。 如果其他文件(如arrays.xml)出现错误,请使用translateable=“false”

您可以在元数据标记中使用工具:ignore=“ManifestResource”。 如果其他文件(如arrays.xml)出现错误,请使用translateable=“false”

<meta-data
            android:name="com.yitter.android.notification_icon"
            android:resource="@drawable/ic_launcher" />
Error:Execution failed for task ':app:processDebugManifest'.
> D:\android\app\src\main\AndroidManifest.xml:77:9-84:20: Error: Invalid instruction 'targetApi', valid instructions are : REMOVE,REPLACE,STRICT