Reputation: 389
I am trying to create a new project and I am running into all kinds of issues and I am not sure why? I downloaded the SDK from developer.android.com, opened the SDK manager and downloaded the build tools for 19.1 and I have 20 installed (I think that is the new stuff Google just released). Then I opened Eclipse (I get Eclipse Juno splash page instead of android development tools splash page, not sure if this changed in the recent update?). Then I went to "Help" -> "Install new software" and installed from this url: dl-ssl.google.com/android/eclipse Finally I went to Help -> check for updates to make sure all of my stuff was up to date and no updates were found.
So I went to start a new project and selected the following: 1. New Android Application Project 2. Selected API 19 4.4 KitKat for Minimum, target and compile with SDK. 3. Theme Holo Light 4. Uncheck create custom launcher 5. Make sure create activity IS checked, everything else left alone 6. Create activity checked on next screen and selected Blank Activity 7. Activity Name and Layout Name left as defaults. 8. Click finish.. and no MainActivity.java is created my src folder is empty?!f
Upvotes: 0
Views: 84
Reputation: 459
I was also facing this problem, but i figured out. I choosed Empty Activity
in step 6 instead of Blank Activity
, rest of steps are same as yours.
1. New Android Application Project
2. Selected API 19 4.4 KitKat for Minimum, target and compile with SDK.
3. Theme Holo Light
4. Uncheck create custom launcher
5. Make sure create activity IS checked, everything else left alone
6. Create activity checked on next screen and selected Empty Activity
7. Activity Name and Layout Name left as defaults.
8. Click finish..
I hope this will work for you too.
Upvotes: 1
Reputation: 333
I recommend you to go back to the ADT bundle before this one, here is a place you can download from :
https://dl.google.com/android/adt/22.6.2/adt-bundle-windows-x86_64-20140321.zip
I had the same problem like you, its a problem in the new ADT .. install this one until google will fix it in a new version.
Upvotes: 2