Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: no launch activity found

  1. #1
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default no launch activity found

    hi when i launch my app i get no launch activity found and app dies im pretty sure the problem is whit the manifest can anyone spot what im doing wrong thanks

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
          package="test.com"
          android:versionCode="1"
          android:versionName="1.0">
        <application android:label="@string/app_name" >
     
            <!--test.com.MainActivity -->
            <!-- adderyoke -->
            <activity android:name=".MainActivity"
                      android:label="@string/app_name">
                <intent-filter>
                    <action android:name="com.example.MAIN" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
            </activity>
              <!--meun-->
            <activity android:name=".Menu"
                      android:label="@string/app_name">
                <intent-filter>
                    <action android:name="com.example.MENU" />
                    <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
            </activity>
              <!-- splash -->
            <activity android:name=".Splash"
                      android:label="@string/app_name">
                <intent-filter>
                    <action android:name="android.intent.action.SPLASH" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
     
     
        </application>
    </manifest>


  2. #2
    Forum VIP
    Join Date
    Jun 2011
    Posts
    317
    My Mood
    Bored
    Thanks
    47
    Thanked 89 Times in 74 Posts
    Blog Entries
    4

    Default Re: no launch activity found

    <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>

    Try this

  3. The Following User Says Thank You to ChristopherLowe For This Useful Post:

    bean (July 18th, 2014)

  4. #3
    Member
    Join Date
    Apr 2013
    Posts
    83
    Thanks
    7
    Thanked 3 Times in 3 Posts

    Default Re: no launch activity found

    that was it thanks

Similar Threads

  1. How can i include mai activity in my java project
    By ankushpruthi in forum What's Wrong With My Code?
    Replies: 2
    Last Post: September 26th, 2013, 06:52 AM
  2. Optimize code Java in activity and long operation
    By markjava in forum Android Development
    Replies: 1
    Last Post: November 14th, 2012, 05:02 PM
  3. error when switch activity in android
    By yefta in forum Android Development
    Replies: 3
    Last Post: October 26th, 2011, 10:50 AM
  4. [SOLVED] Medication of ArrayDemo.java to include iterative menu
    By xyldon27 in forum Loops & Control Statements
    Replies: 8
    Last Post: June 30th, 2009, 02:10 AM