Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8186755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T02:19:50+00:00 2026-06-07T02:19:50+00:00

Following this: http://developer.android.com/training/basics/firstapp/starting-activity.html I am confused when editing the Android Manifest.xml file. It says

  • 0

Following this: http://developer.android.com/training/basics/firstapp/starting-activity.html I am confused when editing the Android Manifest.xml file. It says that the file should contain this:

<application ... >
    <activity android:name="com.example.myapp.DisplayMessageActivity" />
     ...
    </application>

My android manifest.xml looks like this:

    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.nick.myfirstapp"
        android:versionCode="1"
        android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="4"
        android:targetSdkVersion="15" />

    <application android:label="@string/app_name">
       <activity android:name="com.nick.myfirstapp.DisplayMessageActivity" />
        ...
    </application>



</manifest>

and when I run the app everything goes fine except it says : “No Launcher activity found!
The launch will only sync the application package on the device!” Is this something missing from the android manifest.xml file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T02:19:55+00:00Added an answer on June 7, 2026 at 2:19 am

    declare Your Activity in AndroidManifest.xml as for Showing In Launcher as:

    <application android:label="@string/app_name">
           <activity android:name="com.nick.myfirstapp.DisplayMessageActivity" >
                <intent-filter >
                    <action android:name="android.intent.action.MAIN" />
    
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application>
    

    see for more info how we set an activity which so in Launcher :

    http://developer.android.com/reference/android/content/Intent.html

    http://developer.android.com/reference/android/app/Activity.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was following the Dev guide on google: http://developer.android.com/training/basics/firstapp/starting-activity.html Eclipse gives me this error
I was following the Dev guide on Google's site: http://developer.android.com/training/basics/firstapp/starting-activity.html But whenever I press
I'm following this tutorial: http://developer.android.com/training/basics/firstapp/running-app.html#Emulator In it there is a simple code for a
im just experimenting with Android + Java. Im following this guide: http://developer.android.com/training/basics/firstapp/index.html Did everything
http://developer.android.com/training/basics/firstapp/building-ui.html I have been following this tutorial, but I have two errors, both R
I was following this example: http://developer.android.com/resources/tutorials/views/hello-autocomplete.html And I want to know how I can
I'm following this tutorial: http://developer.android.com/resources/tutorials/views/hello-datepicker.html . I have two EditText, and which one calls
http://developer.android.com/resources/tutorials/views/hello-spinner.html I'm following this ^ tutorial on making a spinner but when I get
i'm following this tut http://developer.android.com/resources/tutorials/views/hello-listview.html and i was wondering how can i add the
I've been following this tutorial: http://developer.android.com/resources/tutorials/views/hello-mapview.html but in onTap mContext is throwing a NullPointerException..

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.