Eclipse- creating new Activity

10,661

Solution 1

For an Activity set it to android.app.activity.

Solution 2

I got the same problem like yours. After a day, I found the way.

It's very simple. re install the ADT Plugin: In Eclipse, Help > Install New Software.... Click Add, in the top-right corner. Enter "ADT Plugin" for the Name and URL = http://dl-ssl.google.com/android/eclipse/ Then just enter until finish

For the full tutorial how to instal ADT Plugin you can look at: http://developer.android.com/sdk/installing/installing-adt.html

Share:
10,661
Admin
Author by

Admin

Updated on October 17, 2022

Comments

  • Admin
    Admin over 1 year

    I have problem when I create a new Android project. I fill in the name of the app and the package name, then I go to the next scrren and set the icon. On the following scrren I select Blank activity and hit next when this screen appears:

    Eclipse create activity dialog

    I enter everything, but i donť know what to do with Hierarchical Parent. A few days ago it worked perfectly, but now when I chose something from list on the left, and create activity, eclipse unless I wrote something says it's wrong.

    Can anyone help me?