标签: device-compatibility

Nexus 6的屏幕尺寸和密度配置是什么?

我的应用未在Google Play Console中将Nexus 6列为受支持的设备.

我阅读了为Nexus 6和Nexus 9准备好应用程序的博客文章:

Nexus 6的量化密度为560 dpi,介于xxhdpi和xxxhdpi主密度桶之间.

关于我的问题有一个段落:

确保您未在​​Google Play上过滤

如果您正在使用AndroidManifest.xml文件中的元素,那么您应该停止使用它,因为每次新设备出来时,它都无法扩展以重新编译和发布您的应用程序.但是,如果必须使用它,请确保更新清单以添加这些设备的配置(按屏幕大小和密度).否则,您的应用可能会被排除在这些设备上的Google Play搜索结果中.

好吧,我必须使用,<compatible-screens>因为我试图从平板电脑中排除我的应用程序.

<compatible-screens>在Manifest中的当前元素看起来像:

<compatible-screens>
    <!-- small size screens -->
    <screen
        android:screenDensity="ldpi"
        android:screenSize="small" />
    <screen
        android:screenDensity="mdpi"
        android:screenSize="small" />
    <screen
        android:screenDensity="hdpi"
        android:screenSize="small" />
    <screen
        android:screenDensity="xhdpi"
        android:screenSize="small" />
    <screen
        android:screenDensity="480"
        android:screenSize="small" />

    <!-- normal size screens -->
    <screen
        android:screenDensity="ldpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="mdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="hdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="xhdpi"
        android:screenSize="normal" />
    <screen
        android:screenDensity="480"
        android:screenSize="normal" />
    <screen
        android:screenDensity="640"
        android:screenSize="normal" /> …
Run Code Online (Sandbox Code Playgroud)

android android-manifest google-nexus device-compatibility

8
推荐指数
1
解决办法
1958
查看次数