在Google Play中发布的应用与任何真实设备都不兼容。我想支持除小屏幕之外的所有真实设备。以下是我相应配置的清单。发布到Google Play后,我意识到它与任何设备都不兼容。
清单
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.work.mob"
android:versionCode="1"
android:versionName="0.15" >
<uses-sdk android:minSdkVersion="10"
android:targetSdkVersion="19" />
<compatible-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" />
</compatible-screens>
<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="false"
android:xlargeScreens="true" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:allowBackup="true" >
<service android:name="com.work.mob.time.Downloads" >
</service>
<activity
android:name="com.work.mob.time.active.LoginActivity"
android:screenOrientation="portrait"
android:configChanges="orientation|keyboardHidden"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
请建议。
答案 0 :(得分:0)
删除兼容屏幕元素。
用以下内容替换支持屏幕:
<supports-screens android:smallScreens="false"/>