1

我的应用与 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" />

PS 我有报道称三星 Galaxy S3 在更新到 Jelly Bean 后停止检测 USB 设备。我想知道它是否相关。另一方面,Nexus 10 也运行 Jelly Bean 并且运行良好。

4

1 回答 1

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

将此设置为 false ,它应该可以工作。并非总是如此,但通常 USB 主机需要有完整的 USB 端口,而不是微型端口。

于 2013-02-12T13:54:13.167 回答