> For the complete documentation index, see [llms.txt](https://riteshs4hu.gitbook.io/infosec-notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://riteshs4hu.gitbook.io/infosec-notes/android-appsec/setting-up-virtual-device/android-studio.md).

# Android Studio

Android Studio is the official **Integrated Development Environment (IDE)** for Android app development, developed by Google. It’s based on **IntelliJ IDEA** and provides powerful tools for building, testing, and debugging Android applications.

***

### **What is an IDE?**

An **IDE (Integrated Development Environment)** is software that provides a **complete** environment for developers to write, debug, and compile code efficiently. It combines multiple tools, such as:

* **Code Editor** – Helps with syntax highlighting and auto-completion.
* **Debugger** – To find and fix errors.
* **Compiler/Interpreter** – Translates code into executable programs.
* **Build Automation** – Helps manage dependencies and compilation.

**Examples of IDEs** include Android Studio, Visual Studio, Eclipse, and IntelliJ IDEA.

***

### **What is JetBrains' IntelliJ IDEA?**

**IntelliJ IDEA** is a powerful **Java-based IDE** developed by **JetBrains**. It's one of the most popular IDEs for Java and Kotlin development, known for its **intelligent code completion**, **refactoring tools**, and **debugging features**.

***

### Download and Setup a Virtual Device

1. Download the Android Studio [Download Android-Studio](https://developer.android.com/studio)
2. Run this command to **extract the downloaded file**:

   ```
   tar -xvzf android-studio-2024.3.1.13-linux.tar.gz
   ```
3. Navigate to the Installation Directory

   ```
   cd android-studio/bin/
   ```
4. Run Android Studio Setup

   ```
   ./studio.sh
   ```

***

#### References

{% embed url="<https://developer.android.com/studio/releases>" %}

{% embed url="<https://en.wikipedia.org/wiki/Android_Studio>" %}
