android: No Launcher activity found

Error:

[2005-01-06 19:56:38 - my_Android] No Launcher activity found!
[2005-01-06 19:56:38 - my_Android] The launch will only sync the application package on the device!
Usually this is happening by the AndroidManifest.xml. You need to specify the MAIN and LAUNCHER in the the intent filter for the activity you want to start on launch.

<application android:name="MainApplication" android:debuggable="true">
<activity android:name=".MainActivity" android:launchMode="singleInstance"
    android:label="@string/app_name" android:icon="@drawable/icon">
    <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
                    <action android:name="org.onaips.vnc.ACTIVITY_UPDATE" />
    </intent-filter> 
</activity>
</application>
Here the action tag detail should be like as it is .Because through the activity tag we aretelling to android which is the main Activity and Launcher.

1 comment: