Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

src folder empty on creating new Android project

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.

like image 459
Nitish Avatar asked Mar 06 '14 05:03

Nitish


People also ask

What is src folder in Android Studio?

The src folder holds two most important folders on any Android project, namely, androidTest and main. The androidTest package is created to hold Test cases for testing the application code and running. This folder contains . java (JAVA) files.

Where is the Android project folder?

Android Studio stores the projects by default in the home folder of the user under AndroidStudioProjects. The main directory contains configuration files for Android Studio and the Gradle build files.

What does the folder contain in Android project framework?

Contains all non-code resources, such as XML layouts, UI strings, and bitmap images, divided into corresponding sub-directories. For more information about all possible resource types, see Providing Resources.

How do I open the project folder in Android Studio?

Launch Android Studio, and click File > New > Import Project. Locate your project directory, click the build. gradle file you created above to select it, and then click OK to import your project.


1 Answers

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

like image 102
surhidamatya Avatar answered Sep 20 '22 19:09

surhidamatya