Google Developer Console显示0个受支持的设备 [英] Google Developer Console shows 0 supported devices
问题描述
我想在Google Play上发布我的应用程序,但是当我上传.apk文件时,它表明该设备受0设备支持.我知道已经有一些关于此的主题,但是我都没有找到解决方案.下面我附上我的Android清单的源代码.我还要提及的是,我正在为此应用程序使用LibGDX,它是一个Android动态壁纸.同样,一切在测试设备和仿真器上都可以正常工作.感谢您的回答.
I want to publish my app on Google Play but when I upload my .apk file, it shows that it is supported by 0 devices. I know that there is already a few topics about this but I have not find solution in any of them. Below I am attaching source-code of my android manifest. I also would like to mention that I am using LibGDX for this application and it is an Android Live Wallpaper. Also everything works fine on test devices and emulator. Thanks for your answers.
<?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
>
推荐答案
我终于找到了问题所在.这是一个错字android:software.live_wallpaper
,应该是android.software.live_wallpaper
.现在,它显示了超过9000种支持的设备.
I finally found where the problem was. It was a typo android:software.live_wallpaper
, it should be android.software.live_wallpaper
. Now it shows over 9 000 supported devices.
这篇关于Google Developer Console显示0个受支持的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!