【问题标题】:How to figure out why an Android device is not compatible with an APK如何找出 Android 设备与 APK 不兼容的原因
【发布时间】:2013-11-07 11:01:24
【问题描述】:

在 Google Play 开发者控制台中,我可以检查哪些设备与我的 APK 兼容/支持。如何找出设备不受支持的原因?

例如,不支持 Google Nexus 7“罗非鱼”和“石斑鱼”。但支持 Nexus 7、Google Nexus 7“deb”和 Google Nexus 7“flo”。

有没有办法知道清单中的哪个功能导致了问题?

特点:

  • android.hardware.CAMERA
  • android.hardware.LOCATION
  • android.hardware.location.GPS
  • android.hardware.location.NETWORK
  • android.hardware.screen.LANDSCAPE
  • android.hardware.TOUCHSCREEN

API 级别 10+

【问题讨论】:

标签: android apk manifest google-play


【解决方案1】:

AndroidManifest.xlm

    <uses-permission
        android:name="android.permission.CAMERA"
        android:required="false"/>

    <uses-feature
        android:name="android.hardware.camera"
        android:required="false"/>

    <uses-feature
        android:name="android.hardware.camera.front"
        android:required="false"/>

    <uses-feature
        android:name="android.hardware.camera.autofocus"
        android:required="false"/>

这应该会有所帮助。默认情况下,需要声明的权限。 Nexus 7 (2012) 没有前置摄像头,这就是此设备不兼容的原因。

http://developer.android.com/distribute/googleplay/quality/tablet.html#hardware-requirements

【讨论】:

  • 我们最终使用 Amazon AppStore(“亚马逊地下”)向使用没有后置摄像头的 Nexus 7 设备的用户分发我们的应用程序。没有后置摄像头的设备不会像 Google Play 那样被排除在外。
【解决方案2】:

我认为这是由于较旧的 nexus 7s 缺少后置摄像头。罗非鱼和石斑鱼是2012版本,没有后置摄像头(只有前置摄像头),flo是2013,两种类型的摄像头都有。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-29
    • 1970-01-01
    相关资源
    最近更新 更多