Reputation: 5092
I downloaded Eclipse Juno Java EE edition
and installed ADT plugin
. I created a new Android Application
Project from Eclipse
and in the wizard I created an activity called TaskariActivity. After I pressed finish, it created the project but not the activity and the wizard didn't close. I pressed cancel. No activity or anything in the src folder. I created a new activity by right clicking on src, selecting new -> other -> Android -> activity
. I selected BlankActivity (as earlier when I was creating the project), selected the earlier created project in the Project combo box. I set the Activity
name as TaskariActivity, layout name as activity_main and title as TaskariActivity. Next I selected navigation type and I set it to Tabs + Swipe
(I thought this would make me tabs and everything I had to do would be just inserting the elements and the actions for them). I pressed next, nothing happened. Finish didn't also do anything. I pressed cancel and an activity wasn't created.
So, how can I create an Android application
like in the earlier version of Eclipse
? It automatically created the activity and it was ready be run out of the box. Now it won't generate any files and the new activity wizard doesn't work. Help?
Upvotes: 11
Views: 18925
Reputation: 781
Okay, this worked for me: "Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/ I guess the Android website doesn't have an up-to-date version of ADT? Not sure where you're supposed to download the latest version from
Upvotes: 4
Reputation: 2827
I had the same problem and I could create the project changing the "minimum required SDK" to 3.0 Honeycomb.
What is the versión you have selected?
Upvotes: 0
Reputation: 5203
Workaround that worked for me (If you have installed support library>8 and still get the error msg)
Upvotes: 3
Reputation: 136
Just go with default launcher image (blue smiley) instead of customizing it and it should work ;)
Upvotes: 6
Reputation: 577
I solved this same issue by updating the support library (through the Android SDK Manager, it is located at the end of the list under Extras > Android Support Library) from rev.8 to rev.9!
After updating, Eclipse is now able to create projects as expected.
Upvotes: 1