大家好我需要一个关于这个问题的帮助,我在谷歌播放上发布了一个应用程序,该应用程序适用于所有移动设备和标签7和标签10,但它不能显示为三星不是3.and我在支持的设备列表中找到它但它被禁用,我根本无法启用它.. 这是清单文件
<compatible-screens>
<!-- no small size screens -->
<!-- all normal size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="normal" />
<screen
android:screenDensity="mdpi"
android:screenSize="normal" />
<screen
android:screenDensity="hdpi"
android:screenSize="normal" />
<screen
android:screenDensity="xhdpi"
android:screenSize="normal" />
<!-- all large size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="large" />
<screen
android:screenDensity="mdpi"
android:screenSize="large" />
<screen
android:screenDensity="hdpi"
android:screenSize="large" />
<screen
android:screenDensity="xhdpi"
android:screenSize="large" />
<screen android:screenSize="large"
android:screenDensity="480" />
<!-- all xlarge size screens -->
<screen
android:screenDensity="ldpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="mdpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="hdpi"
android:screenSize="xlarge" />
<screen
android:screenDensity="xhdpi"
android:screenSize="xlarge" />
<!-- Special case for Nexus 7 -->
<screen
android:screenDensity="213"
android:screenSize="large" />
</compatible-screens>
<!--
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true" />
-->
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true"
/>
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-feature
android:name="android.hardware.telephony"
android:required="false" />
<uses-feature
android:name="android.hardware.microphone"
android:required="false" />
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.autofocus"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.front"
android:required="false" />
<uses-feature
android:name="android.software.input_methods"
android:required="false" />
<permission
android:name="com.tawasol.think.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="com.tawasol.think.permission.C2D_MESSAGE" />
<!-- Notify Me permissions -->
<!-- App receives GCM messages. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> -->
请帮助。
答案 0 :(得分:0)
步骤1:完全删除<compatible-screens>
元素。
步骤2:决定是否要支持小屏幕。你现在删除的<compatible-screens>
说“不,不支持小屏幕”。您的<supports-screens>
元素表示“是,支持小屏幕”。你不能两者兼顾。
步骤3:如果步骤2的答案为“否,不支持小屏幕”,则将android:smallScreens
更改为false
。
第4步:添加android:xlargeScreens="true"
,因为您现在删除的<compatible-screens>
元素声称您要支持xlarge
个屏幕。