Android: Activity name must be specified error

If you are an avid Android developer there is a chance that you might have encountered this error.

Activity name must be specified

android-activity-name-must-be-specified-error

The error popups up when we create a new Android project in Eclipse.

You have no idea how to solve this!! You try giving all the values but still the error doesn’t go away.

Here is a simple trick to resolve this problem. Basically the issue is with your Android Development Tools. You need to update that package. Follow below steps and you wont see Activity name must be specified error.

Step 1: Go to Windows > Preferences
android-windows-preferences

Step 2: Under the preference menu, navigate to Install/Update and click Uninstall or update link
android-preference-insall-update

Step 3: This shows installed plugins. Select Android Development Tools and press Update…
android-development-tools-update

That should update the required plugins and you should good to go now. Try creating a new Android project in Eclipse. The error should vanish.



3 Comments

  • ermia2008 28 December, 2012, 2:43

    or you can you intellij idea 12 !!! i think it’s perfect and it has better android support . try it now ;)

  • Abhilash 31 December, 2012, 12:36

    Hi Viral,

    It would be good , if u can provide step by step tutorial for Basic Android development .

  • Bhaskar Chaudhary 31 March, 2013, 8:50

    Dear Viral.

    I want to learn Android code and i need your help, plz tel me which s/w i used for coding of android and how to instal it?

Leave a Reply

Your email address will not be published. Required fields are marked *

Note

To post source code in comment, use [code language] [/code] tag, for example:

  • [code java] Java source code here [/code]
  • [code html] HTML here [/code]

Current day month ye@r *