• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Manifest error in <compatible-screens>

dimiter

Newbie
My manifest:
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.conv"
      android:versionCode="3"
      android:versionName="1.2">
    <uses-sdk android:minSdkVersion="4" />
    <compatible-screens>
        <screen android:screenSize="normal" android:screenDensity="ldpi" />
        <screen android:screenSize="normal" android:screenDensity="mdpi"/>
        <screen android:screenSize="normal" android:screenDensity="hdpi" />
    </compatible-screens>
    
    <application android:icon="@drawable/icon"      android:label="@string/app_name">
        <activity android:name=".ConverterActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <categoryandroid:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>  
    </application>
</manifest>
Errors in lines screen android:... No resource identifier found for attribute screenDensity in package android;
No resource identifier found for attribute screenSize in package android
 
I don't know if this is the problem, but <compatible-screens> were first introuced in API Level 9.
 
Back
Top Bottom