【发布时间】:2017-12-13 10:20:46
【问题描述】:
我的公司在 Play 商店中有一款旨在与手机兼容但明确排除平板电脑支持的应用。
该应用程序可以在所有现代手机上正常安装,但在一些三星 S8 (SM-G950F) 上,在设备上的 Play 商店应用程序中,它显示为“不兼容”。 p>
在网络上的 Play 商店控制台中检查,此设备的所有变体都被列为“兼容”。
我应该通过什么过程来确定应用程序无法在设备上安装的根本原因?
一位用户报告说安装 Play 商店应用更新解决了该问题,但另一位用户遇到了该问题,但没有可用的 Play 商店应用更新。
AndroidManifest.xml 包含以下内容:
<compatible-screens>
<!-- all small size screens -->
<screen android:screenSize="small" android:screenDensity="ldpi" />
<!-- 120 -->
<screen android:screenSize="small" android:screenDensity="mdpi" />
<!-- 160 -->
<screen android:screenSize="small" android:screenDensity="hdpi" />
<!-- 240 -->
<screen android:screenSize="small" android:screenDensity="280" />
<!-- Workaround -->
<screen android:screenSize="small" android:screenDensity="xhdpi" />
<!-- 320 -->
<screen android:screenSize="small" android:screenDensity="360" />
<!-- Workaround -->
<screen android:screenSize="small" android:screenDensity="420" />
<!-- Workaround Google Pixel, Nexus 5x -->
<screen android:screenSize="small" android:screenDensity="xxhdpi" />
<!-- 480 -->
<screen android:screenSize="small" android:screenDensity="560" />
<!-- Workaround Google Pixel XL, Nexus 6, Nexus 6P -->
<screen android:screenSize="small" android:screenDensity="xxxhdpi" />
<!-- 640 -->
<!-- all normal size screens -->
<screen android:screenSize="normal" android:screenDensity="ldpi" />
<!-- 120 -->
<screen android:screenSize="normal" android:screenDensity="mdpi" />
<!-- 160 -->
<screen android:screenSize="normal" android:screenDensity="hdpi" />
<!-- 240 -->
<screen android:screenSize="normal" android:screenDensity="280" />
<!-- Workaround -->
<screen android:screenSize="normal" android:screenDensity="xhdpi" />
<!-- 320 -->
<screen android:screenSize="normal" android:screenDensity="360" />
<!-- Workaround -->
<screen android:screenSize="normal" android:screenDensity="420" />
<!-- Workaround Google Pixel, Nexus 5x -->
<screen android:screenSize="normal" android:screenDensity="xxhdpi" />
<!-- 480 -->
<screen android:screenSize="normal" android:screenDensity="560" />
<!-- Workaround Google Pixel XL, Nexus 6, Nexus 6P -->
<screen android:screenSize="normal" android:screenDensity="xxxhdpi" />
<!-- 640 -->
</compatible-screens>
但是,我认为目前我已经排除了这种可能性,因为 S8 应该被 <screen android:screenSize="normal" android:screenDensity="xxxhdpi" /> 覆盖
所有 S8 型号的摘要屏幕截图:
【问题讨论】:
-
提到的设备不属于小型/正常。你也应该指定大
-
我刚刚添加了屏幕截图,显示设备在 Play 商店控制台中显示为“支持”。屏幕尺寸在规格中列为“正常”。
-
它显示 2960x1440 (570 ppi),为此您也应该指定大。看看developer.android.com/guide/practices/screens_support.html
-
我现在注意到三星 S4 在网络 Play 商店中也显示为“不兼容”,尽管该设备被“正常”屏幕尺寸覆盖。也许
<compatible-screens>对于三星设备来说通常是坏的?
标签: android mobile google-play software-distribution