我刚刚发布了一个相对较新的应用程序,似乎 ICS(冰淇淋三明治)用户都收到“您的设备与此版本不兼容”。来自 Google Play 的错误消息。相同的用户可以在直接下载 apk 文件时安装该应用程序。
我是否必须做任何明确的事情来支持 ICS 用户通过 Google Play 安装应用程序?
我的清单文件如下所示:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dmbstream.android"
android:installLocation="auto"
android:versionCode="7"
android:versionName="1.0.7">
<uses-sdk android:targetSdkVersion="10" android:minSdkVersion="4" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<supports-screens android:anyDensity="true" android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>
<application android:label="@string/app_name"
android:theme="@style/MyTheme" android:icon="@drawable/icon"
android:name=".DmbstreamApplication">
<activity android:name=".activity.MainMenuActivity" android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity android:name=".activity.LoginActivity" />
<activity android:name=".activity.LoginWithTokenActivity" />
<activity android:name=".activity.ChatActivity" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateAlwaysHidden" />
<activity android:name=".activity.ConcertActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.LatestAddedConcertsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.LatestPerformedConcertsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.SearchActivity" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="stateVisible" />
<activity android:name=".activity.YourFavoritesActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.YourPlaylistsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.PlaylistActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.SettingsActivity" android:configChanges="keyboardHidden|orientation" />
<activity android:name=".activity.SearchResultsActivity"
android:windowSoftInputMode="adjustPan|stateHidden">
<intent-filter>
<action android:name="android.intent.action.SEARCH" />
</intent-filter>
<meta-data android:name="android.app.searchable"
android:resource="@xml/searchable" />
</activity>
<service android:name=".service.DownloadServiceImpl" android:label="DMBStream Service"/>
<receiver android:name=".receiver.MediaButtonIntentReceiver">
<intent-filter android:priority="999">
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.BluetoothIntentReceiver">
<intent-filter>
<action android:name="android.bluetooth.a2dp.action.SINK_STATE_CHANGED"/>
</intent-filter>
</receiver>
<receiver android:name=".provider.DmbstreamAppWidgetProvider" >
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget_info"/>
</receiver>
<provider android:name=".provider.SearchSuggestionProvider"
android:authorities=".provider.SearchSuggestionProvider"/>
<!-- declare the default searchable Activity for the whole app -->
<meta-data android:name="android.app.default_searchable"
android:value=".activity.SearchActivity" />
<!-- <receiver
android:name="com.google.android.apps.analytics.AnalyticsReceiver"
android:exported="true" >
<intent-filter>
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver> -->
</application>
</manifest>