To simplify the android development environment setup process, Google introduced a new Android Studio IDE. The Android Studio will contain all the required components like Android Build Tools, Android Emulator, and Android Gradle Plugin. so we don’t need to download the components separately.
Android Studio is the official IDE for android development and it’s based on IntelliJ IDEA software. It’s available for Windows, MAC, and LINUX operating systems.
Installing Android Studio
Once download the android studio from the above link, click on the downloaded android studio.exe file. it will show the welcome message, you can click next to proceed to the android studio installation.
In the next step, It will ask you to select the components to be installed along will the android studio. by default, it will select the android studio and Android virtual devices. we will see android studio components later in the tutorial.
After clicking next, then you need to set the android studio installation location. by default, the android studio will install on C:\Program Files\Android\Android Studio in this location. Click next to proceed to the next step.
The next step will ask you to choose the start menu folder. let the default and click the install button to install the android studio.
Once the installation is finished, check the start Android Studio button and click the Finish button to start the android studio.
When we are starting the android studio for the first time, we need to configure the import settings. it will ask to import the previous android studio settings. If you want to use your previous android studio settings you can select the previous android studio file location. otherwise, you can select Do not import settings and click ok to proceed.
In the next step, need to select the install type, android studio has two types of installations. They are standard and custom. let’s select Standard and click next,
The next step is to select the UI mode. Android studio has Dragula and Light UI mode. you can select any one of them and click next.
In the next step, it will show all your selections like Installation type, SDK location, JDK location and SDK version and etc. you need to review and click next to start the installation.
Before installing the Android SDK, it will ask you to accept the license agreement. Once approved it will start installing the android studio. Once the installation is finished, you need to launch the android studio by clicking the android studio shortcut on your desktop or windows start menu.
On the android studio welcome screen, you need to select the new project to create a new android project. Otherwise if are having git repository you can directly clone it into the android studio.
In the next step, android studio asks you to select the template for your new project. by default android studio has many templates like jetpack compose Actiivyt, Bottom navigation activity, Full-screen Activity, Empty Activity and etc. To get started we can select Empty Activity and click next.
Finally, we need to Enter the project name and package name, and the project location on the device. Also, we can select the language and minimum SDK version to support. Once entered all the details click finish to create a new project.
after clicking the finish button it will create a new android studio project with the given details.
we are done with the android studio installation, lets’s see the components of the android studio.
Android SDK Components
The Android SDK is a collection of software development tools and libraries required to develop Android applications.
Below are the SDK developer tools:
- Android SDK Build tool.
- Android Emulator.
- Android SDK Platform-tools.
- Android SDK Tools.
Android SDK Build Tool
Build tools are required for building components for building the actual binaries for your Android app. Always ensure your build tools component is up to date by downloading the latest version in the Android SDK Manager.
An Android Emulator is a device that simulates an Android device on your system. Suppose we want to run the android application that we code. One option is that we will run this on our Android Mobile by Enabling USB Debugging on our mobile.
Android SDK Platform-tools
Android SDK Platform tools are helpful when we are working on Project and they will show the error messages at the same time. It is specifically used for testing. It includes:
- Android Debug Bridge (ADB), is a command-line tool that helps to communicate with the device. It allows us to perform an action such as Installing App Debugging App etc.
- Fastboot allows you to flash a device with a new system image.
- Systrace tools help to collect and inspect timing information. It is very crucial for App Debugging.
Android SDK Tools
Android SDK tool is a component of SDK tool. It consists of a set of tools and other Utilities which are crucial for the development of the Android Application. It contains the complete set of Debugging and Development tools for android.
In this post, we looked at android studio installation and android SDK components. The Android SDK is the only way to develop Android devices.
Thanks for reading.