Reputation: 14113
I am creating a new Android application in Eclipse. However on creating the project, src folder is empty. There is no package or Activity in src folder which I mentioned while creating the project. Also, there is no layout added in layout folder. The manifest file has no information of Activity.
I also tried importing an existing project, the project gets imported but with empty folders.
Upvotes: 9
Views: 13016
Reputation: 625
I had the same 'error' and it appears to me if when creating the app I use in the 'application name' non ASCII characters!
Example: čžšćđ...
So do not use čžšćđ in Application Name!
And yes, I know it's not good practice to use them in programming.
Upvotes: 0
Reputation: 67
I had the same problem:
The SRC folder was empty on creation of a new android project. I installed all required updates in the SDK manager. Additionally, check for new updates and use
https://dl-ssl.google.com/android/eclipse/
as the update site (note that this is https://
and not http://
).
Restart eclipse and it should work.
Upvotes: 1
Reputation: 642
was trying to find answers from several hours...try this...Just changed configuration while creating new project.. click on create empty activity instead of blank activity...You will get hello world xml and java file in src
Upvotes: 5
Reputation: 2609
Try this
"Help" -> "Install new software" and install (this will update it) from this url: https://dl-ssl.google.com/android/eclipse/
use https://
don't use http://
For any more detail please go through Adt doesn't create default hello world but command line does
Upvotes: 12