Galaxy Mega与其他Phablets和Android清单
我申请的舱单条目如下:Galaxy Mega与其他Phablets和Android清单,android,android-layout,Android,Android Layout,我申请的舱单条目如下: <supports-screens> android:smallScreens="true" android:normalScreens="true" android:largeScreens="false" android:xlargeScreens="false" </supports-screens> <compatible-screens>
<supports-screens>
android:smallScreens="true"
android:normalScreens="true"
android:largeScreens="false"
android:xlargeScreens="false"
</supports-screens>
<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" />
<!-- 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" />
</compatible-screens>
android:smallScreens=“true”
android:normalScreens=“true”
android:largeScreens=“false”
android:xlargeScreens=“false”
当我将该应用程序上传到Google Play store时,下面列表中的前两个设备(Galaxy Mega)被自动过滤掉。他们下面的类似设备不是
三星Galaxy Mega 6.3
尺寸-6.3分辨率-720x1280 DPI-233
三星Galaxy Mega 5.8
尺寸-5.8分辨率-540x960 DPI-190
HTC One Max
尺寸-5.9分辨率-1080x1920 DPI-373
三星Galaxy Note 3
尺寸-5.7分辨率-1080x1920 DPI-386
三星银河轮
尺寸-5.7分辨率-1080x1920 DPI-386
三星Galaxy Note II
尺寸-5.5分辨率-720x1280 DPI-267
有人知道为什么开发者控制台会以不同的方式对待这两款Galaxy Mega设备吗?我猜三星Galaxy Mega 6.3属于安卓:screenSize=“large”类别,因此它会被您的配置过滤掉 尝试添加
<screen
android:screenDensity="hdpi"
android:screenSize="large" />
如果它不起作用,也可以尝试将密度设置为mdpi或tvdpi(213)我建议完全去掉
。引用:“注意:通常情况下,你不应该使用这个清单元素。使用这个元素可以大大减少你的应用程序的潜在用户群,如果用户有一个你没有列出的屏幕配置的设备,就不允许用户安装你的应用程序。”@commonware我知道他们会重新注册,不是吗,但有时这是不可避免的。例如,我绝对需要为手机和平板电脑提供两个不同的应用程序,所以我为谷歌play提供了两个APK。其中一个需要过滤掉所有手机,另一个过滤掉所有平板电脑。这说起来容易做起来难,因为正如第一个答案所指出的,Galaxy Mega有android:screenSize=“large”。我也希望有人能提供一个解决方案,否则我的解决方案就是通过编程过滤掉它。在我的主要活动中,我将检查displayMetrics,然后启动手机活动或平板电脑活动。谢谢,但这样做也会使该应用程序可用于大量其他平板电脑设备,这不是预期的结果。