這是我的android Manifest.xml。Eclipse顯示沒有啓動器Activity found
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="uk.co.halfninja.wallpaper.parallax">
<uses-sdk android:minSdkVersion="7" />
<uses-feature android:name="android.software.live_wallpaper" />
<application
android:label="@string/app_name"
android:icon="@drawable/icon">
<service
android:label="@string/app_name"
android:name=".ParallaxWallpaper"
android:permission="android.permission.BIND_WALLPAPER">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="android.service.wallpaper" android:resource="@xml/wallpaper" />
</service>
<activity
android:label="@string/wallpaper_settings"
android:name=".ParallaxWallpaperSettings"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:exported="true">
</activity>
</application>
</manifest>
不過Eclipse的顯示結果
ParallaxWallpaper] No Launcher activity found!
ParallaxWallpaper] The launch will only sync the application package on the device!
ParallaxWallpaper] Performing sync
ParallaxWallpaper] Automatic Target Mode: Unable to detect device compatibility. Please select a target device.
請讓我知道我在哪裏做的錯誤,這將是解決辦法... ???
在活動標籤之間移動意圖過濾器。 –