简体   繁体   中英

No Launcher Activity Found - Android

No matter what I try I still get this error:

[2014-12-07 19:29:19 - ---] No Launcher activity found!
[2014-12-07 19:29:19 - ---] The launch will only sync the application package on the device!

I believe I have set up the manifest correctly but Eclipse still gives me errors

    <application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".Splash"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

Found out is was just Eclipse. The project works when I export it and run it on my device.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM