问题描述
我有一个包含下面列出的 AndroidManifest.xml 的 Android 应用程序.上传到 Google Play 后,Nexus 7 被列为不支持的设备,我试图找出原因.当然,Google Play 不会告诉您为什么或哪些权限或使用清单会限制它被支持.关于以下代码的哪一部分导致 Nexus 7 被列为不受支持的任何想法?
I have an Android Application that has the AndroidManifest.xml listed below. After uploading to Google Play, the Nexus 7 is listed as an UNSUPPORTED device and I am trying to figure out why. Of course Google Play doesn't tell you why or what permission or use of the manifest is restricting it from being supported. Any ideas of which part of the code below is causing the Nexus 7 to be listed as unsupported?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.xxxx.xxxx.applet"
android:versionCode="x"
android:versionName="x.x" >
<uses-sdk
android:minSdkVersion="12"
android:targetSdkVersion="14" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="false"
android:xlargeScreens="true" >
</supports-screens>
<application
android:name="com.xxxx.xxxx.xxxx.xxxx"
android:hardwareAccelerated="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:largeHeap="true"
android:logo="@drawable/ic_launcher"
android:theme="@android:style/Theme.Holo" >
<activity
android:name="MainActivity"
android:configChanges="keyboardHidden|orientation"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:launchMode="singleTop" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/device_list" />
</activity>
</manifest>
推荐答案
这个:
<uses-permission android:name="android.permission.CAMERA" />
这让很多人感到惊讶,因为 Nexus 7 确实有一个前置摄像头,但它似乎不计入此特定许可的目的.
It comes as a surprise to many because the Nexus 7 does have a front facing camera, but it seems that it does not count for the purposes of this particular permission.
这篇关于Nexus 7 支持 Android 应用程序清单程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!