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

在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

解决方法:

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

上一篇:javascript – Chrome扩展程序安装错误消息


下一篇:c# – 没有加载的AssemblyInfo