Some devices ignore string resource in Manifest, Parse Error
===

Trying to set orientation in manifest file, using a string qualifier

    android:screenOrientation="@string/orientation"

Works on an 4.0 asus tablet, but fails on both a 2.1 wildfire and 4.1 Galaxy S.
The problem is infact linking to a resource, If portrait is typed in it works.

Ive tried changing the qualifiers used in the tablet to test on the phone. This means the exact same code, resources and layouts are used for all devices. So it cant be spelling mistakes or build issues. But it still fails on the phones and not the tablet. This seems to be yet another bug in android.

Gives the error below, nothing in logcat

    Installation error: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION
    Please check logcat output for more details.
    Launch canceled!

Manifest section

    <activity
        android:name=".MainActivity"
            android:screenOrientation="@string/orientation"
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

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



I know I can do it programatically. But theres another issue with the wildfire, not restarting immediately. Instead it waits for views to be setup etc. This doesnt occur in the other devices.

Thanks