Android QHD LG G3的应用程序在Google Play上不可见?
我有很多用户抱怨我们的应用程序在LG G3设备上的Google play上不可见。下面是应用程序清单文件的摘录。是否有我遗漏的屏幕分辨率/密度。非常感谢快速帮助Android QHD LG G3的应用程序在Google Play上不可见?,android,Android,我有很多用户抱怨我们的应用程序在LG G3设备上的Google play上不可见。下面是应用程序清单文件的摘录。是否有我遗漏的屏幕分辨率/密度。非常感谢快速帮助 <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="15" /> <supports-screens android:anyDensity="true" android:largeScreens="true"
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="15" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
android:xlargeScreens="true" />
<compatible-screens>
<!-- all 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" />
<!-- all 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" />
<!-- all large size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="large" />
<screen
android:screenDensity="mdpi"
android:screenSize="large" />
<screen
android:screenDensity="hdpi"
android:screenSize="large" />
<screen
android:screenDensity="xhdpi"
android:screenSize="large" />
<screen
android:screenDensity="480"
android:screenSize="large" />
<!-- all xlarge size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="mdpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="hdpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="xhdpi"
android:screenSize="xlarge" />
<!-- Special case for Nexus 7 -->
<screen
android:screenDensity="213"
android:screenSize="large" />
</compatible-screens>
解决方案很简单:摆脱
您的目标是,根据您在那里的值范围,支持所有屏幕大小和密度。在这种情况下,您不需要或不想要清单中的
元素
引述:
注意:通常情况下,不应使用此清单元素。使用此元素可以显著减少应用程序的潜在用户群,因为如果用户的设备具有您未列出的屏幕配置,则不允许用户安装您的应用程序。当应用程序绝对不能使用特定的屏幕配置时,您应该将其作为最后手段使用。您不应该使用此元素,而是应该遵循支持多个屏幕的指南,使用不同屏幕大小和密度的替代布局和位图为多个屏幕提供可扩展的支持
LG G3有一个新的密度类别:xxxhdpi(640)。你需要支持它 目前,SDK中无法使用xxxhdpi值,但您可以将该值设置为数字:
<compatible-screens>
<screen android:screenDensity="640" android:screenSize="small"/>
<screen android:screenDensity="640" android:screenSize="normal"/>
<screen android:screenDensity="640" android:screenSize="large"/>
<screen android:screenDensity="640" android:screenSize="xlarge"/>
</compatible-screens>
感谢Mark的反馈。我以前没有那个XML元素,但后来添加它只是为了支持Nexus7。您确定如果我删除此元素,所有设备(包括平板电脑)都将得到支持吗?我是否需要在以下内容中添加任何额外内容以支持Nexus 7:@user2733554:您不需要该元素来支持Nexus 7。