Manifests Folder

Manifests folder contains AndroidManifest.xml for creating our android application. This file contains information about our application such as the Android version, metadata, states package for Kotlin file, and other application components. It acts as an intermediator between android OS and our application.

Following is the manifests folder structure in the android application. 

AndroidManifest.xml 
 

XML




<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http:// schemas.android.com/apk/res/android"
    package="com.w3wiki.myapplication">
 
    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity android:name=".MainActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
 
</manifest>


Android Project folder Structure

Android Studio is the official IDE (Integrated Development Environment) developed by the JetBrains community which is freely provided by Google for android app development. After completing the setup of Android Architecture we can create an android application in the studio. We need to create a new project for each sample application and we should understand the folder structure. It looks like this:

The android project contains different types of app modules, source code files, and resource files. We will explore all the folders and files in the android app.  

  1. Manifests Folder
  2. Java Folder
  3. res (Resources) Folder
    • Drawable Folder
    • Layout Folder
    • Mipmap Folder
    • Values Folder
  4. Gradle Scripts

Similar Reads

Manifests Folder

Manifests folder contains AndroidManifest.xml for creating our android application. This file contains information about our application such as the Android version, metadata, states package for Kotlin file, and other application components. It acts as an intermediator between android OS and our application....

Java folder

...

Resource (res) folder

The Java folder contains all the java and Kotlin source code (.java) files that we create during the app development, including other Test files. If we create any new project using Kotlin, by default the class file MainActivity.kt file will create automatically under the package name “com.geeksforgeeks.myfirstkotlinapp” as shown below....

res/drawable folder

...

res/layout folder

...

res/mipmap folder

The resource folder is the most important folder because it contains all the non-code sources like images, XML layouts, and UI strings for our android application....

res/values folder

It contains the different types of images used for the development of the application. We need to add all the images in a drawable folder for the application development....

Gradle Scripts folder

The layout folder contains all XML layout files which we used to define the user interface of our application. It contains the activity_main.xml file....