问题
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.
回答1:
In Eclipse Go to Window==>preferences=>Install/update then click uninstall or update =>Click on Installed Software and update your Android development tool.
回答2:
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. :)
来源:https://stackoverflow.com/questions/12085398/when-creating-new-android-project-getting-error-activity-name-must-be-specifie