Android应用程序与不兼容的Nexus 7 [英] Android App Incompatibility with Nexus 7
问题描述
Play商店是显示我的应用程序是不是与Nexus 7(只有前置摄像头,ME370T旧模式)兼容。我的应用程序确实需要一个摄像头,但可以使用前置摄像头。我试图通过指定的任何的摄像头可以用来考虑到这一点在我的清单(不只是背对着摄像头):
The play store is showing that my app is not compatible with the Nexus 7 (older model with only front-facing camera, ME370T). My app does require a camera but can use the front-facing camera. I tried to take this into account in my Manifest by specifying that any camera could be used (not just the back facing camera):
<uses-feature android:name="android.hardware.camera.any" />
否则,我不知道为什么它不能够在运行的Nexus 7。这里是我的权限:
Otherwise, I have no idea why it's not able to run on the Nexus 7. Here are my permissions:
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature android:name="android.hardware.camera.any" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="19" />
为什么我无法安装该应用程序的任何想法?
Any ideas why I can't install the app?
推荐答案
这似乎是应用程序商店可以忽略用途特征的任何规范。我改变了我的相机要求
It seems like the app store may ignore the "any" specification for uses-feature. I changed my camera requirement to
<uses-feature android:name="android.hardware.camera" android:required="false" />
和它看起来像它现在支持。
and it seems like it's supported now.
这篇关于Android应用程序与不兼容的Nexus 7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!