我遇到了其他几个stackoverflow用户遇到的相同问题 - “支持的设备:0”或“此应用程序可用于超过0个设备”。
这是一款已在Google Play上播放超过6个月的应用,我正在尝试发布更新。它以前支持超过1,000个设备,现在支持0 - 我无法再在Google Play中找到它。我没有在更新期间更改清单(版本号除外),所以我不明白为什么它有问题。
我已经研究过stackoverflow上的其他解决方案:
根据下面的manifest.xml文件,有没有人对可能出现的问题有任何建议?
非常感谢提前!
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="*****"
android:versionCode="10"
android:sharedUserId="*****"
android:installLocation="preferExternal"
android:versionName="1.10" >
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>
<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="8" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-configuration android:reqTouchScreen="finger"/>
<uses-feature android:name="android.hardware.touchscreen.multitouch"
android:required="false" />
<uses-feature android:name="android.hardware.touchscreen"
android:required="true" />
<application
android:name="*****"
android:icon="@drawable/icon"
android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:label="@string/app_name" >
<activity
android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
android:label="@string/app_name"
android:name=".SplashScreen">
<intent-filter >
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".GameActivity"
android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name=".SettingActivity" android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name="ChoosePuzzle" android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name=".HelpScreen" android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name=".Shop" android:screenOrientation ="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name=".HomeScreen" android:screenOrientation ="portrait" android:launchMode="singleTop"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<meta-data android:name="com.mobclix.APPLICATION_ID"
android:value="*****"/>
<activity android:name="com.mobclix.android.sdk.MobclixBrowserActivity" android:screenOrientation ="portrait"
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
<activity android:name=".ChoosePuzzleScreen" android:screenOrientation ="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen"></activity>
<activity android:name=".ChooseBatchScreen" android:screenOrientation ="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" ></activity>
<activity android:name=".WebViewActivity" android:screenOrientation ="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" ></activity>
<activity android:name="com.openfeint.internal.ui.IntroFlow"
android:label="IntroFlow"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/OFNestedWindow"/> <activity
android:name="com.openfeint.api.ui.Dashboard"
android:label="Dashboard"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/OFNestedWindow"/>
<activity android:name="com.openfeint.internal.ui.Settings"
android:label="Settings"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/OFNestedWindow"/>
<activity android:name="com.openfeint.internal.ui.NativeBrowser"
android:label="NativeBrowser"
android:configChanges="orientation|keyboardHidden"
android:theme="@style/OFNestedWindow"/>
<activity android:name="com.facebook.android.FacebookActivity"
android:label="@string/app_name"
android:configChanges="keyboardHidden"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.facebook.android.GraphExplorer"
android:windowSoftInputMode="stateHidden"
android:screenOrientation="portrait" />
<activity android:name="com.facebook.android.IntentUriHandler">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="fbgraphex" />
</intent-filter>
</activity>
<activity
android:name="com.facebook.android.Places"
android:screenOrientation="portrait" />
</application>
</manifest>
编辑:我也进行了测试,结果如下:
package: name='*****' versionCode='8' versionName='1.8'
sdkVersion:'8'
targetSdkVersion:'8'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.GET_ACCOUNTS'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.WAKE_LOCK'
uses-configuration: reqTouchScreen='3'
uses-feature-not-required:'android.hardware.touchscreen.multitouch'
uses-feature:'android.hardware.touchscreen'
application-label:'*****'
application-icon-120:'res/drawable-hdpi/icon.png'
application-icon-160:'res/drawable-hdpi/icon.png'
application-icon-240:'res/drawable-hdpi/icon.png'
application-icon-320:'res/drawable-hdpi/icon.png'
application: label='*****' icon='res/drawable-hdpi/icon.png'
launchable-activity: name='*****.SplashScreen' label='*****' icon=''
uses-feature:'android.hardware.screen.portrait'
main
other-activities
supports-screens: 'small' 'normal' 'large'
supports-any-density: 'true'
locales: '--_--'
densities: '120' '160' '240' '320'
答案 0 :(得分:0)
更改android:targetSdkVersion =“8”