-2

I followed exactly what the tutorial described : https://developer.android.com/training/basics/firstapp/building-ui.html

But when I clicked "finish", I realized my "src" is empty and "activity_main.xml" is not existing.

Just wandering what happened? Or Have they changed anything?

The solution is here: src folder empty on creating new Android project

"Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/ Thanks Deryk

Community
  • 1
  • 1
derek
  • 9,358
  • 11
  • 53
  • 94

2 Answers2

2

I guess , in the second screen of what you are describing configure the project you should have unticked create activity ,i experimented with same and it mathces with what you have described , for further queries just comment on my answer

Vamsi Pavan Mahesh
  • 240
  • 1
  • 8
  • 30
  • No, I double checked it. "create activity" was checked. It is not the reason. – derek Mar 14 '14 at 01:22
  • Just figure out. The solution is here: http://stackoverflow.com/questions/22215499/src-folder-empty-on-creating-new-android-project – derek Mar 14 '14 at 04:24
  • you mean to say ? you figured it out ? or you are asking me to figure out the thing ! seriously dude ! if you don't even know how to install software of latest version ,u think people can know your problem and can help you out? – Vamsi Pavan Mahesh Mar 14 '14 at 08:14
  • What are you talking about? I exactly followed the instructions and it did not work. Now I spent time finding a solution and this solution also helped other people. So if you do not have the knowledge to answer my question, you are welcome to learn a little bit more. – derek Mar 14 '14 at 17:21
  • really ? did you mention what version of eclipse you are having atleast ? – Vamsi Pavan Mahesh Mar 15 '14 at 10:43
0

As suggested above the question src folder empty on creating new Android project has the answer.

Whilst updating the ADT may help, I found the answer where they said use Empty Activity instead of Blank Activity to fix the immediate problem (see https://stackoverflow.com/a/24593781/979998).

Community
  • 1
  • 1
richard
  • 1,565
  • 2
  • 18
  • 35