Nitin
Nitin

Reputation: 314

When creating new android project, getting error "Activity Name must be specified"

When I'm trying to create a new Android Application Project in the step as shown below getting error "Activity Name must be specified". Same happens when I try to create a new activity. I'm a bit confused about Hierarchical parent class. What is use of it? Why Eclipse is not allowing me to create activity without specifying it? (It should have been optional) How can I create an Activity without specifying Hierarchical parent?

Thank You very much.

enter image description here

Upvotes: 4

Views: 4425

Answers (2)

Ashish Kumar
Ashish Kumar

Reputation: 960

This is the feature of action bar. I think that the hierarchical parent activity is launched when the user click on the back button of Action Bar. I give the name of launcher activity here and it works fine... As for launcher activity, there is no Hierarchical parent. :)

Upvotes: 1

Mr Nice
Mr Nice

Reputation: 524

In Eclipse Go to Window==>preferences=>Install/update then click uninstall or update =>Click on Installed Software and update your Android development tool.

Upvotes: 4

Related Questions