Question

I have following manifest:

<supports-screens
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:anyDensity="true" />
<compatible-screens>
    <screen android:screenSize="small"/>
    <screen android:screenSize="small" android:screenDensity="ldpi"/>
    <screen android:screenSize="small" android:screenDensity="mdpi"/>
    <screen android:screenSize="small" android:screenDensity="hdpi"/>
    <screen android:screenSize="small" android:screenDensity="xhdpi"/>

    <screen android:screenSize="normal"/>
    <screen android:screenSize="normal" android:screenDensity="ldpi"/>
    <screen android:screenSize="normal" android:screenDensity="mdpi"/>
    <screen android:screenSize="normal" android:screenDensity="hdpi"/>
    <screen android:screenSize="normal" android:screenDensity="xhdpi"/>

    <screen android:screenSize="large"/>
    <screen android:screenSize="large" android:screenDensity="ldpi"/>
    <screen android:screenSize="large" android:screenDensity="mdpi"/>
    <screen android:screenSize="large" android:screenDensity="hdpi"/>
    <screen android:screenSize="large" android:screenDensity="xhdpi"/>

    <screen android:screenSize="xlarge"/>
    <screen android:screenSize="xlarge" android:screenDensity="ldpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="mdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="hdpi"/>
    <screen android:screenSize="xlarge" android:screenDensity="xhdpi"/>
</compatible-screens>
<uses-feature android:name="android.hardware.telephony" android:required="false"/>
<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="10"/>

But still market reports me that application compatible only with nearly half of devices. E.g. some models of Nexus S and Galaxy Tab 7" (Galaxy Tab GT-P1000) are not supported, but in contrary Galaxy Tab 10" (Galaxy Tab 10.1 SHW-M380K) is supported. I'm really confused, what I'm doing wrong?

Full source code for manifest is available here

Était-ce utile?

La solution 2

To conclude discussion above, recipe was following:

  1. Remove all <supports-screens> and <compatible-screens> tags from manifest
  2. Recompile project under SDK as stated in <uses-sdk android:minSdkVersion> (in this case Android 1.5)

That's all.

Autres conseils

If you want it available on everything, this is enough:

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

Forget about compatible-screens or read more here: http://developer.android.com/guide/practices/screens_support.html

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top