我的Android应用程序没有出现在Galaxy Note 3中

时间:2014-05-13 22:19:52

标签: android google-play screen-size

您好我最近向Google Play发布了一款应用。我的应用程序仅支持小屏幕和普通屏幕,不支持平板电脑。这是我的清单文件:

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="19" />
    <uses-permission android:name="android.permission.VIBRATE" />

    <compatible-screens>
    <!--all small size screens -->    
    <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" />

    <!--all normal size screens -->
    <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" />

    </compatible-screens>

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

    <application
        android:allowBackup="true"
        android:icon="@drawable/launcher_icon"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.NoTitleBar" >

        <activity android:name="com.apps.mmatters.SplashPage"
                  android:configChanges="orientation"
                  android:screenOrientation="portrait"
                  android:label="@string/app_name" >
            <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

    <activity
            android:name="com.apps.mmaters.HomeActivity"
            android:configChanges="orientation"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="com.apps.mmatters.HomeActivity" />
                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>    

    <activity android:name="com.apps.mmatters.FullImageActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.MiffyActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FairyFluActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FootballFairyActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.HappyHalloweenActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FGatheringActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FaqActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FairyCouncilActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.FGrownActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.GemmaActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.HappyNyActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.WG2014Activity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.WoodlandFairiesActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>

    <activity android:name="com.apps.mmatters.SpringCleaningActivity"
              android:configChanges="orientation"
              android:screenOrientation="portrait"></activity>
    </application>

</manifest>

我遇到的问题是该应用程序似乎出现在除Galaxy Note 3之外的大多数手机上。有人能告诉我这是什么问题吗?

我在代码中使用了一个函数,当我在Note 3上运行应用程序时检查屏幕大小的“类别”,返回的结果为“Normal”。因此,除非Note 3屏幕被认为是“大”,否则我不确定问题是什么。

1 个答案:

答案 0 :(得分:2)

注3是screenDensity:xxhdpiscreenSize:normal,因此您必须添加它。 此外,您必须记住:

  

Android系统无法读取兼容屏幕清单   element(既不在安装时也不在运行时)。这个元素是   仅供参考,可由外部服务使用

http://developer.android.com/guide/topics/manifest/compatible-screens-element.html