0

我想在 Google Play 上发布我的应用程序,但是当我上传我的 .apk 文件时,它显示它被 0 个设备支持。我知道已经有一些关于此的主题,但我没有在其中任何一个中找到解决方案。下面我附上我的 android manifest 的源代码。我还想提一下,我正在为这个应用程序使用 LibGDX,它是一个 Android 动态壁纸。在测试设备和模拟器上一切正常。感谢您的回答。

     <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.caller.generationslwp.android"
        android:versionCode="1"
        android:versionName="1.0.1" >

        <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="21" />
        <uses-feature android:name ="android:software.live_wallpaper" android:required="true"></uses-feature>
        <uses-feature android:glEsVersion="0x00020000" android:required="true"></uses-feature>
        <uses-feature android:name="android.hardware.touchscreen" android:required="true"></uses-feature>



        <supports-screens android:resizeable="true"
                          android:smallScreens="true"
                          android:normalScreens="true"
                          android:largeScreens="true"
                          android:xlargeScreens="true"
                          android:anyDensity="true"
        />



        <application
            android:allowBackup="false"
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"

        >
            <service android:name =".LiveWallpaperAndroid"
             android:label = "@string/app_name"
             android:icon = "@drawable/ic_launcher"
             android:permission = "android.permission.BIND_WALLPAPER" >
                <intent-filter>
                    <action android:name="android.service.wallpaper.WallpaperService" />
                </intent-filter>
                <meta-data android:name ="android.service.wallpaper"
                 android:resource ="@xml/livewallpaper" />
            </service>


            <activity
                android:name="com.caller.generationslwp.android.Settings"
                android:exported="true"
                android:label="@string/preview_app_name">


            </activity>
        </application>

    </manifest

>
4

1 回答 1

1

我终于找到了问题所在。这是一个错字android:software.live_wallpaper,应该是android.software.live_wallpaper。现在它显示了超过 9 000 个受支持的设备。

于 2015-11-18T19:00:22.163 回答