我有一个动态壁纸和一个启动它的活动。我的清单如下所示:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.bdcorps.Striped">
<uses-sdk android:minSdkVersion="7" />
<uses-feature android:name="android.software.live_wallpaper" />
<application
android:label="B! Lite"
android:icon="@drawable/ic_launcher" >
<!-- android:theme="@android:style/Theme.Holo" -->
<activity android:name="com.bdcorps.Striped.StarterActivity"
android:label="Striped! Lite"
android:screenOrientation="portrait" android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:label="B! Lite"
android:name="com.bdcorps.Striped.StripedMain"
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/striped"/>
</service>
<activity
android:label="@string/striped_settings"
android:name="com.bdcorps.Striped.StripedMainSettings"
android:theme="@android:style/Theme.Light.WallpaperSettings"
android:exported="true">
</activity>
<activity android:name=".EMAIL"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:configChanges="keyboardHidden|orientation">
<intent-filter>
<action android:name="com.bdcorps.Striped.EMAIL" />
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
</application>
</manifest>
现在图标 - “ic_launcher”只出现在启动器中。在动态壁纸选择器等其他地方,图标为灰色,带有“B!” 写在里面(我认为这是默认的)。
我已经完全卸载了该应用程序并清理了我的项目,但没有任何工作......