我的应用程序与Google Nexus 4不兼容。为什么?这是我的清单(除<application/>部分以外的所有清单):



<uses-feature
    android:name="android.hardware.location.gps"
    android:required="false" />
<uses-feature
    android:name="android.hardware.location"
    android:required="false" />
<uses-feature
    android:name="android.hardware.wifi"
    android:required="false" />

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


P. S.我有报道说,三星Galaxy S3在更新到Jelly Bean后停止检测USB设备。我想知道是否相关。
另一方面,Nexus 10还可以运行Jelly Bean,并且运行良好。

最佳答案

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


将此设置为false即可使用。并非总是如此,但通常USB主机需要具有完整的USB端口,而不是微型端口。

09-11 06:21
查看更多