質問

My app is incompatible with Google Nexus 4. Why? Here's my manifest (all of it except for <application/> part):

<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. I've had reports that Samsung Galaxy S3 stopped detecting USB devices after updating to Jelly Bean. I wonder if it is related. On the other hand, Nexus 10 also runs Jelly Bean and works perfectly.

役に立ちましたか?

解決

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

Set this to false and it should work. Not always, but generally usb hosts need to have the full USB port, not a micro one.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top