Java Folder: Setup Android Development Environment Android Hello World App
Java Folder: Setup Android Development Environment Android Hello World App
application using android studio, our project folder structure will be like as shown below. In case if
you are not aware of creating an application using android studio please check this Android Hello
World App.
The Android project structure on the disk might be differs from the above representation. To see the
actual file structure of the project, select Project from the Project dropdown instead of Android.
The android app project will contain a different type of app modules, source code files and resource
files. We will explore all the folders and files in android app.
Java Folder
This folder will contain all the java source code (.java) files which we’ll create during the application
development, including JUnit test code. Whenever we create any new project / application, by
default the class file MainActivity.java will create automatically under the package name
“com.tutlane.helloworld” like as shown below.
The res (Resources) will contain a different type of folders those are
Manifests Folder
This folder will contain a manifest file (AndroidManifest.xml) for our android application. This
manifest file will contain information about our application such as android version, access
permissions, metadata, etc. of our application and its components. The manifest file will act as an
intermediate between android OS and our application.
Gradle Scripts
In android, Gradle means automated build system and by using this we can define a build
configuration that apply to all modules in our application. In gradle build.gradle
(Project), build.gradle (Module) are used to build configurations that apply to all our app modules
or specific to one app module.