问题描述
我已经创建了一个应用程序仅适用于Android的标签兼容。该的Manifest.xml声明的应用程序是:
<支持屏安卓smallScreens =假
机器人:normalScreens =假
机器人:largeScreens =真
机器人:xlargeScreens =真
机器人:requiresSmallestWidthDp =600/>
<使用-权限的Android:名称=in.wptrafficanalyzer.locationingooglemapv2.permission.MAPS_RECEIVE/>
<使用-权限的Android:名称=com.tab.permission.MAPS_RECEIVE/>
<使用-权限的Android:名称=android.permission.ACCESS_FINE_LOCATION/>
<使用-权限的Android:名称=android.permission.INTERNET对/>
<使用-权限的Android:名称=android.permission.CALL_PHONE/>
<使用-权限的Android:名称=android.permission.ACCESS_NETWORK_STATE/>
<使用-权限的Android:名称=com.google.android.providers.gsf.permission.READ_GSERVICES/>
<使用-权限的Android:名称=android.permission.ACCESS_COARSE_LOCATION/>
我能够从谷歌Play商店下载应用程序,但是当我试图从谷歌Nexus 7选项卡中下载,我收到以下错误:
请帮我什么变化所需的舱单申报,使与的Nexus 7
应用程序兼容注:我也用下面的标签在Manifest.xml文件
<使用特征
机器人:glEsVersion =0x00020000
机器人:要求=真/>
占的页, android.permission.CALL_PHONE
意味着 android.hardware.telephony
,这当然了Nexus 7没有。请确保电话不认为被要求通过将下面一行到你的清单:
<使用特征的android:NAME =android.hardware.telephony
机器人:要求=FALSE/>
I have created an Application compatible only for Android Tabs. The Manifest.xml declaration for the App is :
<supports-screens android:smallScreens="false"
android:normalScreens="false"
android:largeScreens="true"
android:xlargeScreens="true"
android:requiresSmallestWidthDp="600" />
<uses-permission android:name="in.wptrafficanalyzer.locationingooglemapv2.permission.MAPS_RECEIVE" />
<uses-permission android:name="com.tab.permission.MAPS_RECEIVE" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
I am able to download the App from the Google Play Store, but when I try to download from Google Nexus 7 Tab, I am getting the following error :
Please help me on what changes required on the manifest declaration to make App compatible with Nexus 7
Note : I am also using the following Tag in the Manifest.xml file
<uses-feature
android:glEsVersion="0x00020000"
android:required="true" />
Per the Permissions that Imply Feature Requirements page, android.permission.CALL_PHONE
implies android.hardware.telephony
, which of course the Nexus 7 does not have. Make sure that telephony is not considered required by adding the following line to your Manifest:
<uses-feature android:name="android.hardware.telephony"
android:required="false" />
这篇关于的Nexus 7的兼容性问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!