Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

supports-screens tag appears after application tag?

The following problems are reported in Eclipse since my latest update of SDK and Eclipse. What does this mean? Where should I place the supports-screens tag?

<supports-screens> tag appears after <application> tag

This is a typical manifest of my apps:

<?xml version="1.0" encoding="utf-8"?>

<manifest
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:installLocation="preferExternal" 
    android:versionCode="1"
    android:versionName="1.1"
    package="aa.bb.cc" >

    <application
    android:hardwareAccelerated="true"
        android:icon="@drawable/cc"
        android:label="@string/txt_appname"
        android:name="MyApplication" >

        <activity
            android:name="ActivityA" >

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name="ActivityB" >

            <intent-filter>
                <action android:name="android.intent.action.SEARCH" />
            </intent-filter>

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable" />
        </activity>

        <activity android:name="MoreActivities"></activity>

        <service android:name="MyService"></service>

        <uses-library android:name="com.google.android.maps" />
    </application>

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true" 
        android:normalScreens="true" 
        android:smallScreens="true" />

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />

    <uses-feature
        android:name="android.hardware.telephony"
        android:required="false" />

    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.CALL_PHONE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

    <uses-sdk
        android:minSdkVersion="7"
        android:targetSdkVersion="11" />
</manifest>

Thanks in advance.

like image 310
Harald Wilhelm Avatar asked Nov 04 '22 04:11

Harald Wilhelm


1 Answers

I think support screens tag should before the application tag.

like image 160
user1808439 Avatar answered Nov 09 '22 18:11

user1808439