我开发了一个应用程序,该应用程序可使用AndEngine 1.0在手机上运行,并且是动态壁纸。
将我的应用程序上传到Play商店后,我得到:支持的设备0 。该应用程序已激活,这是我的清单:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="some.package"
android:versionCode="4"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="15" android:targetSdkVersion="15"
/>
<uses-feature android:name="android.software.live_wallpaper"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />
<uses-feature android:name="android.hardware.telephony" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-feature android:name="android.hardware.sensor" android:required="false" />
<uses-feature android:name="android.hardware.usb" android:required="false" />
<uses-feature android:name="android.hardware.wifi" android:required="false" />
<uses-feature android:name="android.hardware.type" android:required="false" />
<application android:icon="@drawable/ic_launcher">
<service
android:name="my.package.Main"
android:enabled="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
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/wallpaper"/>
</service>
</application>
</manifest>
和aapt的输出:
package: name='some.package' versionCode='4' versionName='1.0'
sdkVersion:'15'
targetSdkVersion:'15'
uses-feature:'android.software.live_wallpaper'
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-feature-not-required:'android.hardware.camera'
uses-feature-not-required:'android.hardware.camera.autofocus'
uses-feature-not-required:'android.hardware.location'
uses-feature-not-required:'android.hardware.location.gps'
uses-feature-not-required:'android.hardware.location.network'
uses-feature-not-required:'android.hardware.microphone'
uses-feature-not-required:'android.hardware.telephony'
uses-feature-not-required:'android.hardware.touchscreen'
uses-feature-not-required:'android.hardware.sensor'
uses-feature-not-required:'android.hardware.usb'
uses-feature-not-required:'android.hardware.wifi'
uses-feature-not-required:'android.hardware.type'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application-icon-320:'res/drawable-xhdpi/ic_launcher.png'
application: label='' icon='res/drawable-mdpi/ic_launcher.png'
wallpaper
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--'
densities: '160' '240' '320'
native-code: 'armebi'
在我的libs /文件夹中,我有andengine-o.jar,android-support.jar,commons-math.jar。整个过程都是使用proguard构建的。
是什么导致此问题?
(我遵循了关于sof其他帖子的建议,例如将用户功能设置为false)
最佳答案
事实证明,我的libs文件夹中有一个本机库armebi,其中带有.so文件,一旦我将其删除,所拍摄的设备数量> 0。
关于android - Google Play Publish支持的设备0,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/23202394/