如何弄清楚为什么Android设备与APK不兼容

时间:2013-11-07 11:01:25

标签: android apk manifest google-play

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

例如,不支持谷歌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 +

2 个答案:

答案 0 :(得分:5)

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

答案 1 :(得分:1)

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