Home > DeveloperSection > Forums > Getting the error “No launcher Activity Found”
Mark Devid
Mark Devid

Total Post:102

Points:714
Posted on    October-14-2014 12:41 AM

 Android Android  Mobile Development 
Ratings:


 1 Reply(s)
 916  View(s)
Rate this:
i am new to android and i already have addes the activity but still getting the error "No Launcher activity found"

<uses-sdk

    android:minSdkVersion="8"

    android:targetSdkVersion="21" />

 

<application

    android:allowBackup="true"

    android:icon="@drawable/ic_launcher"

    android:label="@string/app_name"

    android:theme="@style/AppTheme" >

<activity android:name=".startingPoint" 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>



Kamlakar Singh
Kamlakar Singh

Total Post:194

Points:1396
Posted on    October-14-2014 12:45 AM

<action android:name="android.intent.action.Main" />

should be:

<action android:name="android.intent.action.MAIN" />

It's case sensitive.

Also, your Activity should probably be named something better like StartingActivity to make it clear what type of class it is (and it shouldn't start with a lowercase letter).


Don't want to miss updates? Please click the below button!

Follow MindStick