[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,
- Increase Android Emulator Timeout time
- Android : Remove ListView Separator/divider programmatically or using xml property
- Error : Invalid key hash.The key hash does not match any stored key hashes
- How to Change Android Toast Position?
- Android Alert Dialog with Checkboxes example
- Android : No Launcher activity found! Error
- Android Development: Spinners with Example
- Failed to sync Gradle project Error:failed to find target android-23
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Disable Fading Edges Scroll Effect Android Views
- How to create Toast messages in Android?
- Channel 50 SMSes received every few minutes Android Phones
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Create Custom Android AlertDialog
- How To Disable Landscape Mode in Android Application
- Android Development - How to switch between two Activities
- incorrect line ending: found carriage return (\r) without corresponding newline (\n)
- Generate Facebook Android SDK keyhash using java code
- Android Error Generating Final Archive - Debug Certificate Expired
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Android RatingBar Example
- 11 Weeks of Android Online Sessions-15-Jun-to-28-Aug-2020
- Download interrupted: Unknown Host dl-ssl.google.com Error Android SDK Manager
- fill_parent vs match_parent vs wrap_content
- Android : Connection with adb was interrupted 0 attempts have been made to reconnect
More Posts:
- Java 8 foreach loop code examples - Java
- Bash Command to Do Nothing with Example - Bash
- How to convert a Excel to PDF file in Mac - MacOS
- 30: How to Check if a Directory Exists or Not in Python Program - Python
- [Docker M1/M2 Mac] qemu-x86_64: Could not open /lib64/ld-linux-x86-64.so.2: No such file or directory AWS CLI - Docker
- How to get the SharePoint Tenant Login URL - SharePoint
- How to Configure GitHub with Eclipse IDE in 2023 - Eclipse
- List all Username and User ID using Bash Command - Bash