Android Play store表示0台设备支持我的应用

Android Play store表示0台设备支持我的应用,android,google-play,android-manifest,Android,Google Play,Android Manifest,我最近完成了我的第一个android应用程序的构建。我今天将它发布到商店,但它说它支持0台设备。这是我的清单文件 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.guessthepicturespazam.guessit" > <application

我最近完成了我的第一个android应用程序的构建。我今天将它发布到商店,但它说它支持0台设备。这是我的清单文件

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.guessthepicturespazam.guessit" >

    <application

        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="נחש את המילה"
        android:theme="@style/Theme.AppCompat.NoActionBar" >
        <activity
            android:name=".MainActivity"
            android:configChanges="orientation"
            android:label="נחש את המילה"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name=".GameActivity"
            android:configChanges="orientation"
            android:label="@string/title_activity_game"
            android:screenOrientation="portrait" >
        </activity>
        <activity
            android:name=".Splash"
            android:configChanges="orientation"
            android:label="נחש את המילה"
            android:screenOrientation="portrait" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            android:name=".StoreActivity"
            android:label="@string/title_activity_store" >
        </activity>
        <activity
            android:name=".GameOverActivity"
            android:label="@string/title_activity_game_over" >
        </activity>
    </application>
    <supports-screens
        android:anyDensity="true"
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:resizeable="true" />

</manifest>

我试图在网上查找这个问题,但找不到与我类似的问题。大多数应用程序都没有受支持的设备,因为它们使用的功能仅在某些设备中可用,或者在没有设备的情况下可用。我就是想不出我的错在哪里。事实上,我已经在我的三星galaxy上测试了这个应用程序,它运行良好。

您需要提供支持的sdkVersion

<uses-sdk
        android:minSdkVersion="minimum(e.g "8")"
        android:targetSdkVersion="maximum(e.g "22")" />

如果您使用的是Eclipse,请在清单文件中提及您的minSdkVersion和maxSdkVersion;如果您使用的是Android Studio,请在build.gradle文件中提及这些版本

对于Eclipse

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.guessthepicturespazam.guessit"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="8" 
        android:targetSdkVersion="21"/>
 .......................
</manifest>

注意:如果您想在将来更新应用程序,版本名称和版本代码非常重要。

您的清单不正确

<supports-screens>

当前放置在应用程序标记中,但应上移到清单标记。 签出清单结构


我想play store解析器找不到支持屏幕的信息,并决定不支持屏幕。请更正舱单并让我们知道。非常有趣的问题。

也许你错过了标签?我的构建中已经提到了这些。gradleI将supports screens标记移动到application标记,将新的apk作为更新提交(因此旧的apk未发布),并且它仍然表示支持0个设备。您是否移动到xml的头部?我的意思是订单很重要共享build.gradle文件和更新的清单文件
apply plugin: 'com.android.application'

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.2"

    defaultConfig {
        applicationId "com.guessthepicturespazam.guessit"
        minSdkVersion 8
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    buildTypes {

        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}
<supports-screens>