[2014-12-08 17:12:27 - androidApp] No Launcher activity found!
[2014-12-08 17:12:27 - androidApp] The launch will only sync the application package on the device!
If you are getting the above error message in eclipse logs when you run your Application, then its because you have not set a launcher Activity in the apps AndroidManifest.xml file.
You need to define an <intent-filter> for the Activity tag that is the main/launcher class i.e. the Activity that has to be loaded when the app launches.
<intent-filter> has two sub tags <action> and <category>
How to resolve this issue
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
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>
⛏️ Just add the <intent-filter> tag within the Activity tag that is your Launcher activity.
More Posts related to Android,
- Share or Send SMS via Android Intent
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- Fixed Length Android Edittext
- Error:The SDK Build Tools revision (XX.X.X) is too low for project. Minimum required is XX.X.X
- Android Emulator] ##KBD: Full queue, lose event Error Logs
- Pass data between two Android Activities and access it using Intent
- AlertDialog with no buttons (just text message)
- Android Eclipse This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
- Can't Run SDK Manager find_java.bat issue
- Android Studio Native typeface cannot be made error
More Posts:
- The package must have at least one . separator [Android Studio] - Android-Studio
- Make div element draggable using jQuery - jQuery
- How to make a Android button act as a toggle button - Android
- How to Kill service running on port using terminal command - HowTos
- Export aborted because fatal lint error were found - Android
- How to check if Java main thread is alive - Java
- Remove Applications from Startup Mac OS X - Mac-OS-X
- How to Stop Photos App from auto loading when device connected to the Mac - Mac-OS-X
- Custom Toast Android Programming - Android
- CSS: Apply opacity only for div background and not text - CSS
- Resolving DNS_PROBE_FINISHED_NXDOMAIN Google Chrome Error - Google
- How to make div or text in html unselectable using CSS - CSS
- DDMS files not found hprof-conv.exe - Android
- Android Studio : Change FAB icon color : FloatingActionButton - Android-Studio
- [Hibernate] The method buildSessionFactory() from the type Configuration is deprecated - Java