【问题标题】:Android - incompatible deviceAndroid - 不兼容的设备
【发布时间】:2016-07-13 11:19:39
【问题描述】:

一位用户告诉我,由于设备不兼容,他无法从 Play 商店下载应用。他有一部华为 Mate 8。

应用是:https://play.google.com/store/apps/details?id=com.alitalia.mobile&hl=it

Manifest 排除平板电脑有一些限制:

<compatible-screens>

    <!-- 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" />
    <screen
        android:screenDensity="560"
        android:screenSize="normal" />

    <!-- 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" />
    <screen
        android:screenDensity="640"
        android:screenSize="large" />
    <screen
        android:screenDensity="560"
        android:screenSize="large" />


</compatible-screens>

 <uses-feature
    android:name="android.hardware.telephony"
    android:required="true" />

谁能提出可能的原因?

【问题讨论】:

标签: android


【解决方案1】:

您通过省略 xxhpdi 和 xxxhdpi 屏幕来排除它们。 https://developer.android.com/guide/practices/screens_support.html

【讨论】:

【解决方案2】:

chagne android.hardware.telephonyrequired=false(如果应用程序不得使用该未来)如果您的应用程序不适用于特定设备,也请删除所有 &lt;compatible-screens&gt; 元素。重新上传新的 APK 并检查支持的设备数量。

【讨论】:

【解决方案3】:

平板电脑和手机在 Android 中没有区别,因此您无法有效地按屏幕尺寸或分辨率进行过滤。

有屏幕分辨率超低的平板电脑(想想低端廉价平板电脑)与分辨率非常高的小型手机(例如最新的三星 Note)。

很难为平板电脑过滤您的应用 - 您应该:

  • 找到仅在手机上需要的特定功能(如电话服务)
  • 确保您的应用具有响应能力并适用于所有屏幕尺寸

归根结底,在 Android 世界中手机和平板电脑之间没有区别,因此在过滤应用时需要考虑更重要的细微差别。

重新考虑您对从平板电脑进行过滤的要求,并以不同的方式考虑您的目标。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多