Introduction to Android Studio IDE

Android Studio is the official Integrated Development Environment (IDE) for Android application development, based on IntelliJ IDEA .

Before starting with Android Apps development, Let’s take a tour of Android Studio IDE which required in your whole Android Developer Journey.

Structure of your Project

Above Image shows Android Project View where you will have all your files related to your project. Here, we have one module Android Application which consists of Manifest, Java, Res Folders.

Manifest Folder: This folder consists of a manifest.xml file which android system requires for all the essential information of the application, like:

  • Package Name — Unique Identifier of the application
  • Components — We have to describe all the components in the application (We will discuss components in upcoming chapters)
  • Permissions — Describe all permission application will require
<manifest        xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.mindorks">
<uses-permission android:name="android.permission.INTERNET" />
    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:label="@string/app_name"
        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>

Java Folder: Here you will have all your Java and Kotlin files.

Res Folder: This folder consists of all the media requirements of application like screen layouts inside the layout, images inside drawable, fonts, colour, strings and dimension will be inside values.

User Interface of IDE

  1. Toolbar: All necessary actions like copy, paste, find etc. with the run application, open SDK manager and other tools
  2. Navigation Bar: This shows you the path of the file you are working on
  3. Editor Window: This is the screen where you have all your files open, and you can write code, design layouts etc. depending upon the file type
  4. Tool Window Bar: This is the window consists of multiple options which you can expand on clicking on it.
  5. Tool Window: Here you will see the option you had selected in Tool Window Bar.
  6. Status Bar: Here you can check your project status

Android Studio Shortcuts

This repository consists of all the Android Studio Shortcuts and Code Styles.

https://github.com/anandwana001/AndroidStudioShortcut

Android Studio Terminal

If you are a person love to work with commands, version control; Android Studio provides you with an in-built terminal.

You can find it at the bottom of your Android Studio, select Terminal.

Find commands in the repository,

https://github.com/anandwana001/AndroidStudioShortcut

Gradle Build System

In Android Studio, Gradle is a custom build tool used to build APK files, by managing dependencies and providing custom build logic.

APK file (Android Application Package) is a specially formatted zip file which consists of Bytecode, Resources (images, UI, XML etc.)


In this chapter, you read about all the initial details of the Android Studio IDE. This IDE consists of many features which will make your journey as an Android Developer more comfortable. We will be going to discuss more features one by one in upcoming chapters.

Let's continue with the next chapter.